I'm trying to read data from an input file (multiple files actually) and then perform certain operations on the data for each file and print the output of each input file to an output in Fortran,
So it's something like this..
Open (20, file="a0001.csv)
[perform operation on this file]
print output0001.txt
input files :a0001.csv,a0002.csv,...a0100.csv
outputfiles :output1.txt, output2.txt,.... output100.txt
I want to do this for about 100 files.
I'm thinking a do loop for 1-100 but I don't know how to loop through variable input files and then get an output per file