皮皮学,免费搜题
登录
搜题
【简答题】
任务 3 :编程题 使用循环和循环的嵌套,根据用户输入的行数打印下列图形 Case1 输入 3 输出 * *** ***** Case2 输入 5 输出 * *** ***** ******* *********
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】Which field was not greatly influenced by Latin and Greek?
A.
philosophy
B.
medicine
C.
technology
D.
food
【单选题】伽利略的斜面实验证明了( )
A.
要物体运动必须有力的作用,没有力的作用的物体将静止
B.
要物体静止必须有力的作用,没有力的作用的物体就运动
C.
物体不受外力作用时,一定处于静止状态
D.
物体不受外力作用时总保持原来的匀速直线运动状态或静止状态
【简答题】A.She likes the first one though it is expensive. B.She doesn't like both of them. C.She's going to choose the cheaper one to save money. D.She prefers the expensive one with less maintaining cost.
【单选题】下面程序的输出结果是________。(参考代码:XT_09_01_03.C) #include int f(){ static int i=0; int s=1; s+=i; i++; return s; } int main() { int i,a=0; for(i=0;i<5;i++) a+=f(); printf("%d\n",a); }
A.
20
B.
24
C.
25
D.
15
【单选题】伽利略的斜面实验证明了
A.
要物体运动必须有力作用,没有力作用的物体将静止
B.
要物体静止必须有力作用,没有力作用的物体就运动
C.
物体不受外力作用时,一定处于静止状态
D.
物体不受外力作用时总保持原来的匀速直线运动状态或静止状态
【单选题】伽利略的斜面实验证明了()
A.
要物体运动必须有力的作用,没有力作用的物体将静止
B.
要物体静止必须有力的作用,没有力作用的物体将运动
C.
物体不受外力作用时,一定处于静止状态
D.
物体不受外力作用时,总保持原来的匀速直线运动状态或静止状态
【单选题】下面程序的输出结果是________。(参考代码:XT_09_01_05.C) fun(int a,int b){ return a+b; } int main(){ int x=2,y=3,z=4; printf("%d\n ",fun(fun((x--,y++,x+y),z--),x)); }
A.
14
B.
13
C.
12
D.
10
【单选题】Which expression is not correct about the Olympic Games?
A.
Modern Olympic Games was born in Athens.
B.
Long jump is a program of the track and field.
C.
Ancient Olympic Games was dedicated to the great God Zeus.
D.
The slogan of 2008 Beijing Olympic Game is “ A New World”.
【单选题】Mary is tired of learning because she is _______ to do better than she can, both at school and at home. [     ]
A.
thought
B.
expected
C.
hoped
D.
helped
【单选题】下面程序的输出结果是________。(参考代码:XT_09_01_04.C) #include int x=1; fun(int m){ int x=5; x+=m; printf("%d ",x); m++; } int main(){ int m=3; fun(m); x+=m++; printf("%d ",x); }
A.
8 5
B.
8 4
C.
9 5
D.
9 4
相关题目: