CJCoding With Joseph

Round a Decimal Input

Read a decimal number and print it rounded to the nearest whole number using Math.Round. For the input 3.7, print:

4

Expected Output:

4
Topics:
User Input
๐Ÿ“ฅ Auto-Input:
3.7
This input is automatically fed to your program's stdin
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.