Link to home
Start Free TrialLog in
Avatar of rivkamak
rivkamakFlag for United States of America

asked on

if statement divide numbers and get a whole int

I want to do a while statement using my variable if it's divisible by 4.

While ((i /4 = whole number )
then do the statement

How can I check for that?
ASKER CERTIFIED SOLUTION
Avatar of santhimurthyd
santhimurthyd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
while i MOD 4 = 0