以下程序可以用来求的值,请把下面的程序补充完整,并根据程序画

以下程序可以用来求的值,请把下面的程序补充完整,并根据程序画出程序框图。

INPUT “a,n=”; a,n

t=1

s=1

i=1

DO

                            

s=s+t

i=i+1

LOOP UNTIL  i>n

PRINT  s

END

答案

解析t=t*a

 

相关题目

The cruelty of the terrorists towards the two Chinese engineers in Pakistan and
The cruelty of the terrorists towards the two Chinese engineers in Pakistan and _____ of the terrorists towards America in September 11, filled everyone with horror. A. those    B. that      C
----- What’s the model plane look like?   ----- Well, the wings of the plane
----- What’s the model plane look like?   ----- Well, the wings of the plane are ______ of its body. A. more than the length twice      B. twice more than the length C. more than twice the len
Do you have anything           is important to tell me? which    
Do you have anything           is important to tell me? which                    B. that                   C. /                     
一般说来,生物种类不会由于一个个体死亡而导致该物种的
一般说来,生物种类不会由于一个个体死亡而导致该物种的绝灭。这是因为生物体具有( ) A.遗传特性     B.生殖作用        C.生长现
2.依次填人下列各句横线上的成语,与句意最贴切的一组是
2.依次填人下列各句横线上的成语,与句意最贴切的一组是(   ) ①无锡的梅园,面临太湖,以梅饰山,以山饰梅,____。 ②苏轼也擅长书法,他取
It surprised us all ______ Kate made such big progress in this final exam.  A.
It surprised us all ______ Kate made such big progress in this final exam.  A. when            B. that         C. how              D. whether
----May I look at the menu for a little while? ---- Of course, ______Sir. A. en
----May I look at the menu for a little while? ---- Of course, ______Sir. A. enjoy yourself     B. it doesn’t matter       C. take your time        D. don’t worry  
可逆反应:A(g)+B(g) xC(g),在不同条件下生成物C在反应混合
可逆反应:A(g)+B(g) xC(g),在不同条件下生成物C在反应混合物中的质量分C%)和反应时间(t)的关系如下图,请根据图像回答下列问题:  (1)若甲图中两条

最新题目