确定其中最大数的位置。谁能写出代码来?
随机产生20个两位正整数,确定其中最大数的位置。谁能写出代码来?
for i = 0 to 19 a(i) = rnd() next i for i = 0 to 18 if (a(i) > a(i + 1)) then maxa = a(i) max = i else maxa = a(i + 1) max = i + 1 end if next i
答:被毒蛇咬伤怎么办? 一提蛇咬伤, 似乎总是毒蛇咬伤,后果严重,事实并非全都如此。 现知我国蛇类约有160种左右, 其中有毒蛇约47种. 大多数分布在我国...详情>>
答:Rapid development in the Internet today, many people in the use of new network t...详情>>
答:平板和电脑一般不是一个系统,所以需要在平板商城自行下载(记得给好评哦,亲)详情>>