Question: Write Fortran statements to perform the functions described below. Assume that file INPUT.DAT contains a series of real values organized with one value per record.
Write Fortran statements to perform the functions described below. Assume that file INPUT.DAT contains a series of real values organized with one value per record. (a) Open an existing file named INPUT.DAT on i/o unit 98 for input, and a new file named NEWOUT.DAT on i/o unit 99 for output. (b) Read data values from file INPUT.DAT until the end of file is reached. Write all positive data values to the output file. (c) Close the input and output data files.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
