Advertisement
Guest User

Untitled

a guest
Feb 24th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.       program test
  2.           implicit none
  3.           REAL:: age, y, z, feh
  4.           OPEN(1,file='input.txt')
  5.           read(1,*) age, y, z
  6.           close(1)
  7.           feh = z/0.017
  8.          
  9.           OPEN(2,file='result.txt',status='replace')
  10.           WRITE(2,*) age, y, z, feh
  11.           close(2)
  12.       end program test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement