使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 练习进度 0 / 0
随机练习 自定义设置练习量
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
1 printf("Hello,GESP!");
的代码是( )。
int N, nowDay, afterDays;
cout << "今天星期几? " <<endl; c in >> nowDay;
cout << "求几天后星期几? "<< endl; c in >>afterDays;
N = nowDay+afterDays;
if( ) printf("星期天");
else
printf("星期%d", N%7);
int N=0,i;
for (i = 1; i < 10; i++)
N += 1;
cout << (N + i);
1
2
3
4
int tnt = 0;
for (i = 0; i < 100; i++)
tnt += i % 10;
cout << tnt;
5
6
7
8
9
10
11
for (i = 5; i < 100; i+=5){
if (i % 2 == 0)
continue;
tnt += 1;
if (i >= 50)
break;
}
int N;
c in >> N;
if( )
cout << "能被3整除的偶数 " << endl;
cout << "其他情形 " << endl; cout << endl;
int cnt;
cnt = 0;
for(int i = 1; i < 10; i++)
cnt += i++; cout << cnt;
cout << endl;
1 + + + + +
2 + +
3 + +
4 + +
5 + + + + +
(含图)
int i;
for (i = 0; i <= 100; i++)
cout << i;