Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Compile and Execute FORTRAN-95 Online

program t24
! this program read 10 numbers
integer::m,n,i
m=0
n=1
do i=1,10
read*,a
m=m+a
n=n*a
end do
print*,'sum of 10 numbers is',m
print*,'product of 10 numbers is',n
end program t24

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.