If you plan to use the read function,
then
you must inform C of your
intention by including the following line near the beginning
of your program:
#include
If you want to read data,
then use a read statement:
scanf (a character string,
&name of first variable to receive a value,
&name of second variable to receive a value,
...
&name of final variable to receive a value);
If you want to redirect input from your keyboard to a file,
then instantiate the following pattern: