~cpp
#include <iostream.h>
#include <conio.h>
#include <ctime>
void main(){
time_t start = time(0);
while(1){
if (kbhit()){
if (time(0)-start==8){
cout<<"You win!!!"<<endl;
}
else {
cout<<"your time is off."<<endl;
}
break;
}
}
getch();
}











