write a program to check the divisibility of a number by 5
Answers
Answered by
1
Explanation:
if(num%5)==0
printf("divisible");
else
printf("not divisible");
Answered by
2
The divisibility of 5 can be checked by when there's 0 or 5 at the end of a number .
for example = 2345 :- in this there's 5 at last position so it is divisible by 5.
hope it helps you
please please mark me as brainliest
Similar questions