Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~824 People Reached
Favorite Forums
Favorite Tags
c x 7
Member Avatar for ronnel09_1

#include<stdio.h> #include<conio.h> #include<dos.h> void main() { int minutes,seconds,timeremaining,input=1; char cAns,cAnswer; clrscr(); gotoxy(35,15); printf("Press S to start the game: "); cAns=getche(); if(cAns=='S'||cAns=='s') { clrscr(); printf("\nAre you a human? Y or N: "); scanf(" %c",&cAnswer); timeremaining=input; do { input=timeremaining; minutes=input/60; input=input-(minutes*60); seconds=input; gotoxy(1,1); printf("%02d:%02d",minutes,seconds); timeremaining++; delay(1000); }while(timeremaining<=90); if(timeremaining>=90) { clrscr(); gotoxy(33,12); printf("TIME'S …

Member Avatar for ronnel09_1
0
509
Member Avatar for ronnel09_1

I just want to ask if i can run a timer at the same time with my program? It is like a quiz bee, i'm asking questions and there is a specific time to finish answering. Thank you!

Member Avatar for ronnel09_1
0
92
Member Avatar for ronnel09_1

#include<stdio.h> #include<conio.h> void main() { int a[20],i; clrscr(); printf("enter 20 numbers: "); for(i=0;i<20;i++) scanf("%d",&a[i]); for(i=0;i<20;i++) printf("%d\n",a[i]); getch(); }

Member Avatar for Adak
0
223