向高手们请教个逻辑问题,背景是有一份两个班同学的物理成绩,是随机叉开的,我要读取每一个成绩,判断这个成绩是哪个班的,如果是二班的那么该成绩乘以1.1后赋给一个数组A(I),问题就在于赋给A(I)的这个循环应该 ...
楚香饭 发表于 2014-11-24 22:26 [mw_shl_code=fortran,true]i = 0 Do k1 = 1 , 100 if ... then ...
i = 0 Do k1 = 1 , 100 if ... then ... else if ... then i = i + 1 A(i) = 1.1 * ... end if End Do
捐赠本站|Archiver|关于我们 About Us|小黑屋|Fcode ( 京ICP备18005632-2号 )
GMT+8, 2024-12-23 11:00
Powered by Tencent X3.4
© 2013-2024 Tencent