1/10/00
COM1100-Winter2000-Yuhong Yin
Northeastern University
24
Input statement -- Syntax
n
Purpose:
n
Read the value of one or more variables
from the input
n
Syntax:
n
cin >> variable1 >> variable2 >>…>>
variableN;
n
Variables should be separated by >>
n