题目内容 (请给出正确答案)
[主观题]

阅读以下程序如运行时输入This is example.<CR>,则程序的输出结果是()。 A.T

阅读以下程序

阅读以下程序如运行时输入This is example.<CR>,则程序的输出结果是()。 A.T阅

如运行时输入This is example.<CR>,则程序的输出结果是()。

A.This

B.This is

C.This iS a

D.This is an example.

查看答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“阅读以下程序如运行时输入This is example.<C…”相关的问题

第1题

阅读以下程序#include<iostream.h>void main(){charline[10];in>>line;cout<<line<<endl;}如运行

阅读以下程序 #include<iostream.h> void main() { charline[10]; in>>line; cout<<line<<endl; } 如运行时输入This is an example.<CR>,则程序的输出结果是()。

A.This

B.This is

C.This is a

D.This is an example.

点击查看答案

第2题

阅读以下程序 #include<iostream.h> void main() { char line[10]; cin>>line; cout<<line<<end

阅读以下程序

#include<iostream.h>

void main()

{

char line[10];

cin>>line;

cout<<line<<endl;

}

如运行时输入This is example.<CR>,则程序的输出结果是

A.This

B.This is

C.This is a

D.This is an example.

点击查看答案

第3题

阅读以下程序 #include(iostream.h> voidmain() { charline[10]; cin>>line; cou

阅读以下程序 #include(iostream.h> voidmain() { charline[10]; cin>>line; cout<<1ine<<endl; } 如运行时输入“Thisisanexample.<CR>”,则程序的输出结果是()。

A.This

B.Thisis

C.Thisisa

D.Thisisanexample

点击查看答案

第4题

阅读以下程序 #include(iostream.h>voidmain() {charline[10]; cin>>line; cout<&

阅读以下程序

#include(iostream.h>

voidmain()

{

charline[10];

cin>>line;

cout<<1ine<<endl;

}

如运行时输入“Thisisanexample.<CR>”,则程序的输出结果是()。

A.This

B.Thisis

C.Thisisa

D.Thisisanexample

点击查看答案

第5题

阅读以下程序 #includc<iostream.h> vold main() { Char line[10]; cin>>line;

阅读以下程序 #includc<iostream.h> vold main() { Char line[10]; cin>>line; cout<<line<<endl; } 如运行时输入This is example.<CR>,则程序的输出结果是

A.This

B.This is

C.This is a

D.This is an example.

点击查看答案

第6题

请阅读以下程序段: char c; c=getchar(); 若运行时输入大写字母A,则上面程序的输出结果是
点击查看答案

第7题

7、6.请阅读以下程序:若运行时输入2.0,则程序的输出结果是()

A.0.000000

B.0.500000

C.1.000000

D.0

点击查看答案

第8题

【填空题】请阅读以下程序,若运行时输入:1605<CR>时,程序的运行结果是。 main() {intt,h,m; scanf("%d",&t); h=t/100%12; if(h==0)h=12; printf("%d:",h); m=t%100; if(m<10)printf("0"); printf("%d",m); if(t<1200||t==2400) printf("AM"); else printf("PM"); }
点击查看答案

第9题

【填空题】请阅读以下程序,若运行时输入:1605<CR>时,程序的运行结果是。 main() {intt,h,m; scanf("%d",&t); h=t/100%12; if(h==0)h=12; printf("%d:",h); m=t%100; if(m<10)printf("0"); printf("%d",m); if(t<1200||t==2400) printf("AM"); else printf("PM"); }
点击查看答案

第10题

阅读下列程序 read(*,*)k write(*,100)k 100 format(15) End 程序运行时输入初始值12345,那么显示结果是

A.12345

B. 2345

C. ****

D. *****>

点击查看答案
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
温馨提示
每个试题只能免费做一次,如需多次做题,请购买搜题卡
立即购买
稍后再说
警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
赏学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反赏学吧购买须知被冻结。您可在“赏学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
赏学吧
点击打开微信