can u make a counter for 0-9999 with c ?
How about telling your teacher that you are not up to the task?
Look just admit it, if it's your homework ! People will give you advice but not do it for you.