← Back to Printing
Question 69
Half Of Seven
Half Of Seven
Print two lines of output: first the declared number of slices divided by the declared number of people using the single slash /, then the literal division of 8 by 2 using the same operator. True division always produces a float, so the second line shows a decimal point even though the answer is a whole number. Input: none; the values are fixed in the code.
Expected Output:
3.5 4.0
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
PrintingOperators
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.