CJCoding With Joseph
15free / daySign inCreate account

Whole Slices Each

Print two lines of output, each a label followed by a value: the first begins with the words Each gets and then the whole number of slices per person from floor division //, the second begins with the word Exactly and then the true division result from /. Pass the label and the calculation as two values to each print call. Input: none; the values are fixed in the code.

Expected Output:

Each gets 3
Exactly 3.5

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

Hints2 available
Topics:
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.