answersLogoWhite

0

To check for divisibility, use the "%" operator - the remainder of a division. If the remainder is 0, it is divisible.

for (i = 1; i <= 100; i++)
if (i % 5 0) ...

To check for divisibility, use the "%" operator - the remainder of a division. If the remainder is 0, it is divisible.

for (i = 1; i <= 100; i++)
if (i % 5 0) ...

To check for divisibility, use the "%" operator - the remainder of a division. If the remainder is 0, it is divisible.

for (i = 1; i <= 100; i++)
if (i % 5 0) ...

To check for divisibility, use the "%" operator - the remainder of a division. If the remainder is 0, it is divisible.

for (i = 1; i <= 100; i++)
if (i % 5 0) ...

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Other Math