← Back to If Statements
Question 214
Multiple Of Five
Multiple Of Five
Read a whole number and print Multiple of 5 when it divides by 5 with nothing left over, otherwise Not a multiple. Use the remainder operator % and compare its result with 0. Input: one integer, no prompt. Output: one line.
Expected Output:
Multiple of 5= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
If StatementsOperators
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.