- #include <stdio.h>
- int main()
- {
- system("color 1f");
- int a,b;
- if(a=2)
- {
- system("cls");
- b=0;
- printf("%d:0%d",a,b);
- sleep(1000);
- }
- for(a=1;a>=0;a--)
- {
-
- for(b=59;b>=0;b--)
- {
- system("cls");
- if(b<=9)
- printf("%d:0%d",a,b);
- else
- printf("%d:%d",a,b);
- sleep(1000);
- }
- }
- system("pause");
- return 0;
- }
复制代码 |