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)} 

该程序第5行中cout是哪一个头文件里定义的()。

A、iostream
B、cmath
C、iomanip

相关考题

单项选择题 程序的第5行中的cout表示:()

单项选择题 程序的入口是第几行:()

单项选择题 第3行的main()函数返回值的类型是:()

All Rights Reserved 版权所有©易学考试网(yxkao.com)

备案号:湘ICP备2022003000号-3