Computer Science, asked by harshpareek, 5 months ago

write an algorithm to accept a number and check whether the number is divided by 5 and 2 or not​

Answers

Answered by brainlybooster49
3

Answer:

5 :- the last digit of the number should end at 0 and 5

example:-

10,15 so on....

2:-the last digit should end at 2,4,6,8,0

example:-

12,24,36,48,70... so on

Similar questions