i want to define a 5 secound period where the user will input numerical data from the keypad.while that it happening i want the timer on the screen to count down in tenths of secounds and when it reched an incorrect key stroke or the end of time or the max input it stops and calls functions bases on the numberical enterd data
how can i get the timer to count down?
i know kbhit and getch so that isn't a problem?
how do i structer that that for/while loop to accomplish the above?
any suggestion and answers are apreciated.