categoryFORTRAN覚書

do

trackback0  comment0
プログラミング覚書 Fortran-023

do
----------------------------------------------------------------------

program sum
implicit none
integer total, i
total = 0
do i = 1, 10
total = total + i
end do
print *, total
end program sum

関連記事
 









        
 
http://greenwind888.blog.fc2.com/tb.php/219-5e350760