Recent content by shyvir3108

  1. shyvir3108

    Comp Sci Read specific lines from a file using fortran90

    thank you for your response. 1. I have changed it to decimal, same output. 2. Index n1 is just to call the value in first column in dummy.txt. 3. My expected output should be like this: 6 n1(i)= 6.00000000 7 n1(i)= 9.00000000 8 n1(i)= 10.00000000 9 n1(i)= 14.00000000 10 n1(i)=...
  2. shyvir3108

    Comp Sci Read specific lines from a file using fortran90

    Homework Statement I want to read only specific lines from a file using fortran code. Homework Equations Fortran code The Attempt at a Solution I have a dummy.txt file wrote 7 5 6 4 5 6 9 10 14 19 I want read only values between lines 5 to lines10. But when I use print statement, the value...
Back
Top