阅读FORTRAN程序: READ(*,*)N DO10K-1,N S=S+K**2 10CONTINUE WRITE(*,100)S 100FORMAT(2X,F8,0) END 键盘输入5则程序运行的输出结果是:
A.35 B.45 C.65 D.55正确答案D
阅读FORTRAN程序: READ(*,*)N DO10K-1,N S=S+K**2 10CONTINUE WRITE(*,100)S 100FORMAT(2X,F8,0) END 键盘输入5则程序运行的输出结果是:
A.35 B.45 C.65 D.55正确答案D