P24.F90


!
! =====> Program - P24.F90
!
!
!     CONVERSIONS IN EXPRESSIONS
!
      REAL A, B
!
      PRINT *, 'This is Program >> P24  - REAL Operations'
!
!
!     REAL OPERATIONS
!
      A = 1.5
      B = 3.0
      PRINT *,' A+B = ',A+B
      PRINT *,' A-B = ',A-B
      PRINT *,' A*B = ',A*B
      PRINT *,' A/B = ',A/B
!
      STOP
      END

OUTPUT:
Program entered
 This is Program >> P24  - REAL Operations
  A+B =    4.5000000
  A-B =   -1.5000000
  A*B =    4.5000000
  A/B =    0.5000000
Fortran-90 STOP

Come back to the previous page

Page builder: Charles Boivin

Last modified: 11/07/95