1/13/00
COM1100 Winter2000 Yuhong Yin Northeastern University
21
Summary of input -- 1
nRaw Read provides no error checking. Two statements are needed - an output statement that prints the prompt to the user and a basic input statement.
nint x;
n cout << “Please enter a number : ”;
n cin >> x;
n
n