Task 8 of 14 · 0 solved · 14 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

1.4 Arithmetic — percent

Total: 0 / 4 pts
Practice mode — check each part and get hints as you go.
Task

This program should print what percent 3 is of 8 — that is 37.5. But it prints 37: the fractional part is lost.

Find the bug and fix it. Keep the same variables; change only what is needed so the result keeps its fractional part.

Your solution