The
READ
statement takes input from the keyboard or a file. The information read is assigned to any of the variable types except file.The first parameter is optionally a file identifier, indicating the source of the read is a file. If not provided, the read is done from standard input (keyboard).