高中数学程序框图题...急!a=0S=1If aS=S*3a=a+1End ifprint SEND这道题里面没出现循环语句while,loop或do,until只有if then...为什么答案是27而不是3?

问题描述:

高中数学程序框图题...急!
a=0
S=1
If aS=S*3
a=a+1
End if
print S
END


这道题里面没出现循环语句while,loop或do,until只有if then...为什么答案是27而不是3?

if也是循环