Question: This is using FORTRAN Write a section of code that does the following: (This program asked you to complete a formatted read, which will not
This is using FORTRAN
Write a section of code that does the following: (This program asked you to complete a formatted read, which will not be on the exam, but is good practice.)
Opens an input file named date.dat
Reads in data from an input file named date.dat
Reads in two numbers from that file, Month and year, both as integer values
The input file contains a two digit number for month in column 2 and a four digit number
for year in column 10.
Checks for the end of the data
Continues to read in the data until the end of the file is reached
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
