#include<stdio.h>
#include<stdlib.h>
#include<windows.h>
int main()
{ int a,b,c;
a=120;
while(a>=0)
{
b=a/60;
c=a%60;
system("cls");
printf("%d:%.2d",b,c);
Sleep(1000);
a=a-1;
}
}
标签:60,两分钟,a%,120,system,倒计时,int,include
来源: https://www.cnblogs.com/Cathycat/p/11198049.html