I have a project. The problem is make a timer. When the user hit enter key, the program will display a lap. Help anyone ðŸ˜
I'm a beginner.
I have my timer but don't know how to display the laps.
this is my timer:
int a,b,c,d;
for (a=0;a<=59;a++){
for (b=0;b<=59;b++){
for (c=0;c<=59;c++){
for (d=0;d<=59;d++){
cout<<a<<":"<<b<<":"<<c<<":"<<d;}}}}
help please.
Please don't make multiple posts.