arduino.cc number calculation doubt

hello

can anybody help me to code a program to set a variable to be 0 after it reaches 60

if you read this and reply to what i need i would like to appreciate for your time to help me

thank you

have a look at if statements and operators

jevn:
can anybody help me to code a program to set a variable to be 0 after it reaches 60

if ( x == 60 ) {
   x = 0;
} // If the variable is x