Answer
Only the first digit of the fourth two-digit number is read, since the format
statement told Fortran only to expect one digit. Change the format statement
to
75 FORMAT (I2)
and recompile and rerun the program. It should read both digits now. This
illustrates the capabilities of the format statement.
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu