Using FORTRAN to Read & Output Text Data in Column & Row Format

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
abhi1117
Messages
1
Reaction score
0
Hey

I have a text file with 2 blocks of Data

Example

Numbers 1:
1,2,3,4,5,6
7,8,9,10,11
...

Numbers 2:
92,93,94,95,96
97,98,99,100,101
...

How would i use FORTRAN to read the text file and output in a column and row format..

Example


1 92
2 93
3 94
etc..


I am an amateur and need some help

Thanks
 
Physics news on Phys.org
To get the help you need to show what you've tried, we can't write the program for you.

If you search online for how to read in numbers from a text file in Fortran that should be a beginning then post your program and ask questions.