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

 

More Formatted IO

Given that A is an array declared with the statement,

  INTEGER, DIMENSION(1:8) :: A

give a formatted input statement which will read in the values 1 to A(1), 2 to A(2), etc. from the following records:

  12
  34
  56
  78

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.