PROGRAM read_file2
!#1 ON FINAL FOR INPUT AND INPUT 1
! Purpose:
! To illustrate how to read an unknown number of values from
! an input data file, detecting both any formatting errors and
! the end of file.
!
IMPLICIT NONE
! Data dictionary: declare variable types, definitions, &...
I am in mechanical engineering school and have to take Fortran. I can not figure out how to fix the error. There is an error in line 34. The program is in at the url below. Im sure i am just missing something easy.
Input:
1.1, 1.01
2.2, 2.30
3.3, 3.05
4.4, 4.28
5.5, 5.75
6.6, 6.48
7.7, 7.84...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.