black

CPP考试

登录

单项选择题

1)#include
2)using namespace std;
3)int main()
4){
5)int a,b,result;
6)cout<<"please input two numbers:\n";
7)cin>>a>>b;
8)result=3*a-2*b+1;
9)cout<<"resultis" << result << endl;
10)} 

该程序是在哪一行结束的:()

A、第3行
B、第4行
C、第5行
D、第6行

相关考题

单项选择题 程序的输出结果是:()

单项选择题 程序执行完第5行后,光标在什么位置:()

单项选择题 程序第5行中,”\n”的含义是:()

All Rights Reserved 版权所有©计算机考试题库(jsjtiku.com)

备案号:湘ICP备14005140号-4

经营许可证号:湘B2-20140064