True, it is divisible by 1, 2, 4, 8, 349, 698, 1396, 2792
False. If it doesn't end with a 2, 4, 6, 8, or 0, then it's not divisible by 2.
3924 is divisible by 3 as the digits added together 3+9+2+4=18 is divisible by 3
459 divisible by 4 is a false statement.
False. Consider 4, itself.
4 divides 4 (once), but 4 is not divisible by 8. ■
No. The reverse is true, but 12 is divisible by 4 and not by 8.
Algorithm: If the year is not divisible by 4 then it is not a leap year. Else if the year is not divisible by 100 then it is a leap year. Else if the year is not divisible by 400 then is not a leap year. Else it is a leap year. Implementation: bool is_leap_year (unsigned year) { if (year%4) return false; if (year%100) return true; if (year%400) return false; return true; }
true
4 is divisible by 2 but not by 6
It is a statement which is true for some sums.
is it true or false my guess is False
Being divisible by 4, means that it will also be divisible by 2, so that doesn't tell you anything about divisibility by 8. But if you divide the number by 2, and this quotient is divisible by 4, then yes the original number is divisible by 8.