I have a code here that would probably just delay 10 seconds before proceeding , but I want to add a feature that the user could wait that delay or press any key to continue, I know it wouldn't be just like delay(10000) || getch();
any way to do it?
#include <stdio.h>
#include <conio.h>
#include <dos.h>
void main(){
clrscr();
printf("Press Any Key or Wait for 10 Seconds to Continue");
delay(10000);
//getch();
}