Wednesday, September 30, 2009

C++ CODE TO CREATE A STOP WATCH

#include
#include
#include
#include
void main()
{
int i,j,k;
long int l;
clrscr();
for (i=0;i<=60;i++)
{
for (j=0;j<=60;j++)
{
for (k=0;k<=60;k++)
{
for (l=0;l<=189999;l++)


{
cprintf("\n %d:%d:%d",i,j,k);
textcolor(RED);
gotoxy(35,12);
}
}
}
}
getch();
}

No comments:

Post a Comment