double x;
cin >> x;
double x, y, z;
cin >> x;
cin >> y;
cin >> z >> x;
int i, j;When you are prompted to enter the first number, type "123 456". You'll see that the program does not stop and wait for you to enter a second number, but instead uses what is in the buffer -- the 456.
cout << "Enter first number: ";
cin >> i;
cout << "Enter second number: ";
cin >> j;
cout << "Your numbers are " << i << " and " << j << endl;
3 4 5 6 -1
int i;4. For input pairs beginning with -1 and -2, you should ignore the second number in the pair.
char c;
c = i;
**** ***6. There's a typo in the handout and the first sample output should look like
***
***
*
**** *** **