- #1
- 69
- 0
The following program is printing wrong value of RWTSED. How can I print correct value??
The answer printed on screen is
"42166083584.00000 17424.00000 2.42000"
The left most value is is definitely wrong.
How can I print the correct value of RWTSED?
Fortran:
program inpdat
c
IMPLICIT NONE
REAL RHOMN,RWTSED,VOLSED
VOLSED = 17424.0
RHOMN = 2.42 !0000076293945
RWTSED= VOLSED*RHOMN*1.0E6
2000 FORMAT(/,3F40.5)
WRITE(*,2000) RWTSED,VOLSED,RHOMN
end
The answer printed on screen is
"42166083584.00000 17424.00000 2.42000"
The left most value is is definitely wrong.
How can I print the correct value of RWTSED?