Program in Fortran print different results with each execution
Advertisements This program prints different values for the variable ar each time it is run. Nothing was changed in the code between runs. IMPLICIT REAL *8 (A-H,O-Z) PI = 0 PI=4.D0*ATAN(1.D0) PRINT *, ‘PI =’, PI ar = 0 ar = 243.90472242d0 * PI / 180d0 PRINT *, ‘ra in radians=’, ra END First time… Read More Program in Fortran print different results with each execution