求結(jié)果dim a(6) for i=0 to 6 a(i)=i+1 next for i=0 to 6 count=count+a(i)+1 next response.Write count
求結(jié)果dim a(6) for i=0 to 6 a(i)=i+1 next for i=0 to 6 count=count+a(i)+1 next response.Write count
求結(jié)果
dim a(6)
for i=0 to 6
a(i)=i+1
next
for i=0 to 6
count=count+a(i)+1
next
response.Write count
求結(jié)果
dim a(6)
for i=0 to 6
a(i)=i+1
next
for i=0 to 6
count=count+a(i)+1
next
response.Write count
數(shù)學人氣:631 ℃時間:2020-06-01 19:23:41
優(yōu)質(zhì)解答
i從0到6,七次循環(huán),a0=1,a1=2,a2=3,a3=4,a4=5,a5=6,a6=7.count相加7次,count0=0+1+1=2count1=2+2+1=5count2=5+3+1=9count3=9+4+1=14count4=14+5+1=20count5=20+6+1=27count最終結(jié)果=27+7+1=35.這個程序?qū)崿F(xiàn)的是count=...
我來回答
類似推薦
- dim a(6) for i=0 to 6 a(i)=i+1 next for i=0 to 6 count=count+a(i)+1 next response.write count
- for i = 1 to 10 response.write i&"" next
- Dim a, i% a=array(1,2,3,4,5,6,7) For i =Lbound(a) to Ubound(a) a(i)=a(i) *a(i) next i print a(i)
- DIM AS INTEGER A(6),I,T,J,P T=0 FOR I=1 TO 6:A(I)=7-I:NEXT FOR I=1 TO 5 FOR J=1 TO 5 IF A(J)>A(
- 下列程序的執(zhí)行結(jié)果為().dim a(10),b(5) for i=1 to 10 a(i)=i next i for j=1 to 5 b(j)=j*20 next j
- 明明過生日時時請好朋友們吃飯,買了4瓶橙汁,每瓶0.75升,每杯可倒3/10升,這些橙汁可倒多少杯?
- 花兒推開了春天的大門;雷電推開了夏天的大門仿著再寫4個句子!
- 隔一條長而寬的河如何測出松樹的高?
- 一個三位數(shù)除以一個二位數(shù),商最大是( )位數(shù),最小是( )位數(shù)
- 已知函數(shù)f(x)(x不等于0),對于任意非零實數(shù)x,y,滿足f(xy)=f(x)+f(y).
- 根號18/根號8*根號27/2
- sorry to break your walkman 翻譯成中文
猜你喜歡
- 1人類的視覺是什么視覺,是真正看見嗎?
- 2為什么漢語拼音與英文字母一樣?
- 3英語高手可以幫我看一篇文章有什么語法或詞匯錯誤嗎?還能添加點什么嗎?
- 4在家庭電路中,以下情況會引起保險絲熔斷的是( ?。?A.用測電筆接觸火線 B.連接電路時誤將火線與零線接通 C.將開關(guān)用導線接通 D.電路中用電器總功率過大
- 5理想,在饑餓面前,它是糧食……仿寫句子兩句?
- 6焰色反應(yīng)是一種化學反應(yīng)嗎?
- 7This ruler is green.同意句
- 8某年的10月份有5個星期二,4個星期三,這年的國慶節(jié)是星期幾
- 9用一根鐵絲圍成一個邊長是8分米的正方形,如果把它拉成平行四邊形,面積減少了16平方分米,這個平行四邊形的高是多少分米?
- 10They arrived at teh small village_____(safe)at last
- 11分數(shù)應(yīng)用題一批稻谷放在甲,乙兩個糧庫中,甲庫所存的稻谷數(shù)量是乙?guī)斓陌朔种?后來從甲庫取出42噸,乙?guī)?/a>
- 12You'll never marry her-She's much too good for you