Not unless you put the program to sleep until the time is up or you continuously poll the time to see when to print the message. You'll need to be more specific on what the constraints are. Should your program be doing something else while the timer is running down or is that all the program does, prints a message every 30 seconds?
|