成人AV在线无码|婷婷五月激情色,|伊人加勒比二三四区|国产一区激情都市|亚洲AV无码电影|日av韩av无码|天堂在线亚洲Av|无码一区二区影院|成人无码毛片AV|超碰在线看中文字幕

java獲取數(shù)組元素下標(biāo) 寫(xiě)VB程序:利用一維數(shù)組求最大值及其下標(biāo)?

寫(xiě)VB程序:利用一維數(shù)組求最大值及其下標(biāo)?Dima(1to10)asinteger,iasinger,nasinger,maxainteger randomize forI=1to10 a(I)=in

寫(xiě)VB程序:利用一維數(shù)組求最大值及其下標(biāo)?

Dima(1to10)asinteger,iasinger,nasinger,maxainteger randomize forI=1to10 a(I)=int(rnd()*100)“分配nexti max=a(1)n=1 forI=1to10 IFA(I)>maxthenmax=a(I)n=I ENDIF nexti print”最大值:“max”下標(biāo):“n