[問題] 算sigma
Program example1
integer x,sum,i
write(*,*)"x"
read(*,*) x
sum=0
do i=1,30,1
sum=sum+x+2i--------------(1)
end do
write(*,*)"sum=",sum
end
(1)顯示說unclassifiable statement
請問錯在哪?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.24.1.250
→
11/20 13:31, , 1F
11/20 13:31, 1F
→
11/20 13:32, , 2F
11/20 13:32, 2F
推
12/01 22:05, , 3F
12/01 22:05, 3F
Fortran 近期熱門文章
PTT數位生活區 即時熱門文章