以下程序可以用来求的值,请把下面的程序补充完整,并根据程序画出程序框图。
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 或