P44.F90

FORMAT w/ F conversion for REALs


!
! =====> Program - P44.F90
!
!
      PRINT *, 'This is Program >> P44  - F conversion for REALs'
!
!     Print 1 integer and 2 real numbers
      N=375
      X=37.9
      Y=-41.25
      PRINT 101, N, X, Y
101   FORMAT(I10,2F10.2)
!     Be consistent
!     The order and type must match
      STOP
      END

OUTPUT:
Program entered
 This is Program >> P44  - F conversion for REALs
       375     37.90    -41.25
Fortran-90 STOP

Come back to the previous page

Page builder: Charles Boivin

Last modified: 11/07/95