next up previous contents
Next: Solution Up: Input and Output Previous: Solution

 

Formatted IO

Give the formats which would be suitable for use with the statements,

  REAL      :: A
  CHARACTER(LEN=12) :: B
  INTEGER   :: C
  READ(*,FORM) A,B,C

if the record to be read is, (b is blank),

    bbb354bbINTRODUCTORYb1993

and values to be assigned to A, B and C are given in the following table:

tabular2397

Go back to Notes gif




next up previous contents
Next: Solution Up: Input and Output Previous: Solution

©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997
Not for commercial use.