|
|
xxxxxxxxxxxxxxxxxx |
program demo5
c This program demonstrates Fortran exponential notation.
c Notice how Fortran prints x, y, and z.
real x, y, z
x = 2.34375E0
y = 2.34375E3
z = 2.34375E-2
print *, "2.34375E0 = ", x
print *, "2.34375E3 = ", y
print *, "2.34375E-2 = ", z
end
|