未分类题

下列程序运行时,若输入labcedf2df<回车>输出结果为【 】。
include<stdio.h>
main()
{ char a=0,ch;
while((ch==getchar())!='/n')
{ if(a%2!=0&&(ch>='a'&&ch<='z')) ch=ch'a'+'A';
a++;prtchar(ch);
}
printf('/n');
}

A.h>

【参考答案】

1AbCeDf2dF
1AbCeDf2dF 解析:本题的执行过程是先从键盘上获得—个字符,判断是不是换行符,如果......

(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)
热门 试题

未分类题
Cheese is perhaps the first food to be manufactured that is currentlyconsumed by humans. The oldest written records have references to cheese S1.______as a fooD.Today, cheese is available in an almost numerable variety ofkinds, flavors and consistencies. Cheese is made by many different races of S2.______people under wide varying conditions all over tide face of the earth. And the S3.______peoples who eat it like the various flavors and consistencies produceD.S4.______For the better understanding of the art and sciences of cheese-making S5.______one needs to know what kind of product it is and how the manufacturer pro-cedures developed over the years. Even though the varieties differ quitewidely in composition, cheese can be characterized as a product made from S6.______milk in that the protein is coagulated and concentrateD.S7.______For centuries, cheese-making has been a farm and home industry withthe individual producers using surplus milk to make small batches ofcheesE.Goat cheese making in the US still follows this general practicE.It S8.______was, and still is to a considerate degree, an art; since the middle ofthe 19th century, however, more and more cheese has been made in speciallyequipped factories with greater application of science in the manufacturingprocedurE.Milk from all species has been used for cheese making. Be- S9.______cause more attention has been given with increasing the productivity of thebovine species, a large proportion of commercial cheese is now made from S10.______cow milk; the milk from the buffalo, zebu, sheep and goats is also used extensively.【S1】
A.______
as
B.______
people
C.______
peoples
D.______
For
E.______
one
F.______
milk
G.______
For
H.______
was,
I.______
cause
J.______
cow
K.
【S1】