write an algorithm to check a number is divisible by 8 or not
Answers
Answered by
0
Explanation:
To know if a number is divisible by 8, you have to first check if its last 3 digits are divisible by 8. If the last 3 digits are divisible by 8, then the whole number is also divisible by 8.
Hope it'll Help you
Similar questions