#VC54. 趣味编程54选择题
趣味编程54选择题
1.尼克在家里通过网络观看狐狸老师的C++教学视频,视频可以选择1280 * 720高清模式,也可以选择1920 * 1080全高清模式,请问1280 * 720和1920 * 1080指的是()。 {{ select(1) }}
- 内存
- 存储容量
- 分辨率
- 显示器大小
2.阅读程序写结果。
#include <iostream>
using namespace std;
int main()
{
int i, j;
for(i = 1; i <= 3; i++)
{
for(j = 1;j <= 5; j++)
cout << j;
cout << endl;
}
return 0;
}
输出结果为()。 {{ select(2) }}
12345
12345
12345
12345
12345
12345
12345
123
123
123
123
123
123
123
123
3.完善程序。
编程输出如图所示的图形。
#include<iostream>
using namespace std;
int main()
{
int i, j;
for (i = 1;_______; i++)
{
for (j = 1;_______; j++)
cout <<_______;
cout << endl;
}
return 0;
}
{{ select(3) }}
i <= 5
j <= 4
j
i <= 4
j <= 5
j
i <= 4
j <= 5
i
i <= 5
j <= 4
i