int a; float b; char c; string d; cin >> a; cin >> b; cin >> c; cin >> d; cin >> a >> b >> c;
cp ~dbennett/130/chapter4/cinexamp.C .
int a; float b; char c; string d; cin >> a >> b >> c >> d >> a >> a >> c; // use the same input twice to read this one too cin >> d >> a >> c >> a >> c >> b >> d >> d >> b; Input Stream: 12 123.45E6 a word 1 23.45
This program should: