COUNTDOWN TIMER IN C

Good day! I am trying to make a game that has a timer in it and it will appear every 5 seconds to inform the user about the passing of time:

example output:

What is the largest ocean in the world?
TIME LEFT: 60 SECONDS

after 5 seconds:
What is the largest ocean in the world?
TIME LEFT: 55 SECONDS



I don't have an idea on how to do this and I'm not yet that good with time.h library, please do help...the source code will be of much benefit! Thanks in advance :)
Topic archived. No new replies allowed.