Answer
As is explained in section 2.2, variables whose names begin with the
letters I--N contain integers, whereas variables whose names begin with
other letters contain real numbers. When Fortran tried to read values
for I and J, it ignored the decimal parts because you did not provide
integers as expected. (Some versions of Fortran are less forgiving,
and will simply refuse to deal with unexpected input by aborting
execution!)
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu