!
! =====> Program - P14.F90
!
!
! THIS PROGRAM SHOWS A
! MORE COMPLEX NUMERIC
! CALCULATION
! $10 with 7% tax and then 6.5% tax
!
PRINT *, 'This is Program >> P14 - Prints a tax calculation'
!
!
PRINT *,'Total cost of $10.00 item with 2 taxes'
PRINT *, 10.0 * ( 1.0 + 0.07) & ! long line broken up
* (1.0 + 0.065) ! this is a continuation
END
OUTPUT:
Program entered
This is Program >> P14 - Prints a tax calculation
Total cost of $10.00 item with 2 taxes
11.3955011
Page builder: Charles Boivin
Last modified: 11/07/95