Fortran FORTRAN Help

  • Thread starter abhi1117
  • Start date
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
 
10,602
4,147
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.
 

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top