← Back to User Input
Question 158
Divide And Show The Float
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
Sign in to use hintsTopics:
User Input
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.