CJCoding With Joseph
15free / daySign inCreate account

Divide And Show The Float

Read two whole numbers and print the first divided by the second using the single slash, which always gives a float, so 9 divided by 3 prints 3.0 and not 3. Output form: Quotient: <value>. Input: two lines, one integer each, no prompts; the second number is never zero.

Expected Output:

Quotient: 3.5

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

Hints2 available
Topics:
User Input
📥 Auto-Input:
7\n2\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.