can u make a counter for 0-9999 with c ?
Look just admit it, if it's your homework ! People will give you advice but not do it for you.