Computer Science, asked by hinamir4526, 6 hours ago

Accept the N number from user and display all such elements whic are divisible by 5

Answers

Answered by ashutoshdhonde011220
0

Answer:

0,5

Explanation:

if unit digit is 0 or 5

Answered by cyxl
0

I did it in python because it takes less time:

N = input('Whats the number?')

if N%5:

 print('not divisible!')

else:

 print(N)

Similar questions