Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

FORTRAN Help

  1. Jan 23, 2013 #1
    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
     
  2. jcsd
  3. Jan 23, 2013 #2

    jedishrfu

    Staff: Mentor

    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: FORTRAN Help
  1. Fortran Help (Replies: 1)

  2. Fortran help (Replies: 0)

  3. Help in fortran (Replies: 2)

  4. [Fortran] help (Replies: 2)

  5. Fortran Help (Replies: 2)

Loading...