CJCoding With Joseph
15free / daySign inCreate account

Half Of A Number

Read a whole number and print half of it as a float in the form Half of <num> is <half>, so 9 gives 4.5 and 10 gives 5.0; use the single slash so the result is always a float. Input: one line, an integer, no prompt.

Expected Output:

Half of 9 is 4.5

= newline. The output ends with a newline — print one after the last line.

Hints2 available
Topics:
User Input
📥 Auto-Input:
9\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.