摘要: Mr. Read at about 5:30. A. was going to the bus stop B. was looking for his boy C. was going to another shop D. was looking for a shade in the street
网址:http://m.1010jiajiao.com/timu3_id_944218[举报]
当输入a=3,b=-1,n=5时,下列程序语句执行后,输出的是c=
Read a,b,n
i←1
While i≤n-2
c←a+b
a←b
b←c
i←i+1
End While
Print c
End.
查看习题详情和答案>>
3
3
.Read a,b,n
i←1
While i≤n-2
c←a+b
a←b
b←c
i←i+1
End While
Print c
End.
如图,给出一个算法的伪代码,已知输出值为3,则输入值x= .
Read x
If x≥0Thenf(x)←x2-3x-1
Elsef(x)←log2(x+5)
End If
Print f(x)
查看习题详情和答案>>
Read x
If x≥0Thenf(x)←x2-3x-1
Elsef(x)←log2(x+5)
End If
Print f(x)
| x2 |
| a2 |
| y2 |
| b2 |
| ||
| 2 |
| 3 |
(Ⅰ)求椭圆C的方程;
(Ⅱ)过点Q(-4,0)任作一动直线l交椭圆C于M,N两点,记
| MQ |
| QN |
| MR |
| RN |