List directed input (using READ *) is adequate for most purposes. In contrast,
list directed output (using say PRINT *) has its limitations. For example, when
outputting REAL numbers, the programmer usually wants to control the number of
significant figures that are presented. The next example shows how to do this.
END PROGRAM Prog4
The output is:
Integer:77 Float: 77.00