当前位置: > dimension a (3) s=0 for k=1 to 3 a(k)=3-k s=s+k endfor a(1),a(2),a(3),s...
题目
dimension a (3) s=0 for k=1 to 3 a(k)=3-k s=s+k endfor a(1),a(2),a(3),s

提问时间:2021-01-16

答案
so easy .first ,we move on to k.If k equals 1,then we have a(1)=3-1=2.Thus S=0+k=0+1=1next,again,we continue this process ,which we have a(2)=3-2=1.And S=1+2=3.Finally,if k is 3,we will get a(3)=3-3=0...
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
1,人们染上烟瘾,最终因吸烟使自己丧命.
版权所有 CopyRight © 2012-2019 超级试练试题库 All Rights Reserved.