2:00倒计时
来源:互联网 发布:通信工程用什么软件 编辑:程序博客网 时间:2024/06/07 21:23
#include<stdlib.h>
#include<stdio.h>
#include<iostream>
#include<windows.h>
using namespace std;
int main() {
int a,b,s;
s=119;
a=1;
b=59;
cout<<"2:00";
Sleep(1000);
while(s>=0){
system("cls");
if(b>=0) {
if(b<=9) {
printf("%d:0%d",a,b);
}
else{
printf("%d:%d",a,b);
}
b--;
}
if(b<0){
a--;
b=59;
}
Sleep(1000);
s=s-1;
}
system("pause");
return 0;
}
#include<stdio.h>
#include<iostream>
#include<windows.h>
using namespace std;
int main() {
int a,b,s;
s=119;
a=1;
b=59;
cout<<"2:00";
Sleep(1000);
while(s>=0){
system("cls");
if(b>=0) {
if(b<=9) {
printf("%d:0%d",a,b);
}
else{
printf("%d:%d",a,b);
}
b--;
}
if(b<0){
a--;
b=59;
}
Sleep(1000);
s=s-1;
}
system("pause");
return 0;
}
1 0
- 2:00倒计时
- 倒计时2
- 倒计时:2天
- viewpager+倒计时2小时
- 倒计时
- 倒计时
- 倒计时
- 倒计时
- 倒计时
- 倒计时
- 倒计时
- 倒计时
- 倒计时
- 倒计时、、、、、
- 倒计时
- 倒计时
- 倒计时
- 倒计时
- 解决:java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
- javascript语法
- Hadoop浅解SnapShots
- AOP面向切面设计编程
- Codeforces 493D Vasya and Chess
- 2:00倒计时
- java排序(1):基本概念和各种排序的概述
- uvalive 6525——Attacking rooks(二分图匹配,好题!)
- 解决Attempt to invoke virtual method '...ListAdapter'on a null object reference
- Android工程师面试题大全
- 我的Web开发实战总结(二)
- IO流_内存操作流的概述和讲解
- 实现Parcelable接口,Writing a list of parcelable objects to a parcelable object
- 文章标题