未分类题
main()
{int a=4,b=5,c;
ifa<B)
{c=a*b;printf('%d,%d,%d/n',b,a,c);}
else
{c=b/a;printf('%d,%d,%d/n',b,a,c);}
}
D.12
A.4,5,12
B.20
C.5,4,20
【参考答案】
C
解析:本题考查if else语句。第一个if语句,先判断条件,发现a<b成立,执行下列的复合语句,得 c=a......
(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)
点击查看答案
<上一题
目录
下一题>
热门
试题
未分类题
Task 2Directions: This task is the same as Task 1. The 5 questions or unfinished statements are numbered 41 through 45.What is the better way of staying away from the cold winter days? Come out to our Hall Markets in the beautiful countryside, full of color, fun, music and delicious food! With over 350 stalls (摊位) selling wonderful home-made and home-grown goods, this will surely be a great day out.The Hall Markets are held on the first Sunday of each month from 10:00 am to 3:00 pm at Hall VillagE.They are operated by Hartley Lifecare Co. LtD.All the income will go to help and support service for people with disabilities (残疾).Volunteers (志愿者) play an important part in the success and pleasant atmosphere at the Hall Markets, Hartley Lifecare is always grateful to have you serve as volunteers with the Hall Markets.If you are interested in being one of our volunteers and spending a few hours with us each month, please contact us during business hours on 6260 5555.According to the passage, the Hall Markets are held ______.A.in the countrysideB.to attract volunteersC.to promote winter salesD.by people with disabilities
A.What
B.
C.
D.
E.
According
F.
A.in
G.to
H.to
I.by
点击查看答案
未分类题
听力原文:He hung up on mE.What did he do?A.He telephoned mE.B.He picked up the phonE.C.He put the receiver down.D.He put my hanger up.
A.What
B.He
C.
B.He
D.
C.He
E.
D.He
点击查看答案
相关试题
有下列程序:fun(int x,inty){retum(...
若ch为char型变量,k为int型变量(已知字符...
阅读下文,回答101—105题。①在某个...
阅读短文,完成96—100题。所有物质中...
阅读短文,完成91—95题。1998年7...