write a program to know whether a number is exactly divisible by 13 or not
Answers
Answered by
1
Answer:
A number is divisible by 13 if and only if the number is formed by adding last digit multiplied by 4 to rest is also divisible by 13. For example, consider 2353. Applying above rule, we get 235 + 3*4 = 247. Since 52 is divisible by 13, given number is divisible by 13.
Answered by
28
- A number is divisible by 13 if and only if the number is formed by adding last digit multiplied by 4 to rest is also divisible by 13. For example, consider 2353. Applying above rule, we get 235 + 3*4 = 247. Since 52 is divisible by 13, given number is divisible by 13.
Similar questions
Biology,
1 month ago
Social Sciences,
1 month ago
Social Sciences,
1 month ago
English,
2 months ago
English,
2 months ago
Math,
10 months ago
English,
10 months ago