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
Answer:
heyaaaa ur answer js π hope it helpssss
Step-by-step 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 5 which implies that its remainder is zero. We then say that 15 is divisible by 3.
In our other lesson, we discussed the divisibility rules for 7, 11, and 12. This time, we will cover the divisibility rules or tests for 2, 3, 4, 5, 6, 9, and 10. Believe me, you will be able to learn them very quickly because you may not know that you already have a basic and intuitive understanding of it. For instance, it is obvious that all even numbers 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.