Computer Science, asked by SimranGuragain, 2 months ago

write a program to know whether a number is exactly divisible by 13 or not​

Answers

Answered by BrutalMaster
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 Itsmahi001
28

\huge{\bf{\underline{\underline{\colorbox{lavender}{\color{red} {αиѕωєя}}}}}}

  • 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