plzz write an algorithm
3. Accept a number and check:
(a) whether the number is divisible by 2 and 5.
(b) whether the number is divisible by 2 but not by 5.
(c) whether the number is divisible by 5 but not by 2.
Answers
Answered by
1
Answer:
A- 10 is divisible by 5and2
B- 8 is divisible by 2but not divisible by 5
C- 45 is divisible by 5 but not divisible by 2
Similar questions