题目
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,人们染上烟瘾,最终因吸烟使自己丧命.
最新试题
- 1are those in the box?填什么
- 2下面关于万里长城的描述中用了很多自然数,请找出这些数,并说说它们哪些表示计数,哪些表示测量,哪些表示标号或排序?
- 3大神帮我看看我这句话写的对不对 there are a variety of things which you may be addicted to,
- 4用几个词表达对哈尔威船长的怀念
- 5用babysit造句带翻译
- 6he ( ) ( )to be ( ) ( ) singing 他过去对唱歌不感兴趣(用used to 形式)
- 7--Why was Peter badly hurt?
- 81.写成最简分数.
- 9in deed 和indeed有什么区别?
- 10Wish the happiness and joy will be around you today and always!
热门考点