Round the Score
JavaScript
10 pts
Round the Score
Abel’s average score is 87.6. Use the Math toolbox to round it in three ways:
nearest— rounded to the nearest whole numberdown— rounded downup— rounded up
Then print exactly:
Nearest: 88 Down: 87 Up: 88
Let JavaScript do the rounding — do not type 87 or 88 yourself.
Checklist
- Create
nearest,downandupfromscore. - Use the three Math rounding tools (no typed answers).
- Print the three labelled lines.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
