Divisible by 5
As you know, a number is divisible by 5 if its remainder is 0 or 5.
Write a code that calculates if the number is divisible by 5 or not.
Input
153
Input: an integer
Output: remainder
YESif it is divisible by 5
NO if it is not divisible by 5
1
2
320
Output
3
NO
0
YES
ПОМОГИТЕ ИНФОРМАТИКА 7 класс ПИТОН даю 15БАЛЛОВ!!!
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.