Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main(){
- int h , min, sec,i ,y ,x;
- /*int h=0;
- int min=0;
- in sec=0;*/
- for(i=0; i<23; i++){
- h=i;
- // printf("%d %d %d \n", h, min, sec);
- for(y=0; y<59; y++){
- min =y;
- // printf("%d %d %d \n", h, min, sec);
- system("cls");
- for(x=0; x<60; x++){
- sec=x;
- sleep(1);
- printf(" TIME %02d:%02d:%02d \r", h, min, sec);
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement