accept a number and print the number is divisible by 7
Answers
Answered by
0
Answer:
in other words subtract twice the last digit from the number formed by the remaining digits continue to do this until a small number example the number 371: 37 - 2 into 1 is equals to 37 - 2 is equals to 35; 3 minus 2 into five equal to 3 minus 10 is equals to minus 7;,thurs since - 7 is divisible by 7, 371 is divisible by 7.
Answered by
0
Answer:
In other words, subtract twice the last digit from the number formed by the remaining digits. Continue to do this until a small number. Example: the number 371: 37 – (2×1) = 37 – 2 = 35; 3 – (2 × 5) = 3 – 10 = -7; thus, since -7 is divisible by 7, 371 is divisible by 7
Explanation:
hope it's helpful
Similar questions