write a program to accept any number from the user and check i) the number is divisible by 6 without dividing by 6 and ii) the number is divisible by 5 without dividing by 5
Answers
Answered by
0
.Given a number, the task is to check if a number is divisible by 6 or not. The input number may be large and it may not be possible to store even if we use long long int.
Answered by
1
Explanation:
Divisibility Rules: 2, 3, 4, 5, 6, 9, and 10
A number aa is divisible by the number bb if a \div ba÷b has a remainder of zero (00). For example, 15 divided by 3 is exactly are divisible by 2. That is pretty much the divisibility rule for 2. The goal of this divisibility rules lesson is to formalize what you already know.
Similar questions
Social Sciences,
2 months ago
English,
2 months ago
Chemistry,
2 months ago
Social Sciences,
4 months ago
Hindi,
4 months ago
Chemistry,
11 months ago
Science,
11 months ago