


Variable-list is a list of the variables to be read from keyboard or written on screenįormat specification defines the way in which formatted data is displayed. Formatted Input Outputįormatted input output has the syntax as follows − However the formatted I/O gives you more flexibility over data transfer. The free format simple I/O has the form − This form of input-output is free format I/O, and it is called list-directed input-output. We have so far seen that we can read data from keyboard using the read * statement, and display output to the screen using the print* statement, respectively.
