If the dialog between user and program is as follows, give the rest of the dialog. (Here, means the user presses the return key.) Explain the results.

Assume the following code fragment is executed while embedded in a complete,
correct program.
What will be an ideal response?
```
char c1, c2, c3, c4;
cout << "Enter a line of input \n";
cin.get(c1);
cin.get(c2);
cin.get(c3);
cin.get(c4);
cout<< c1 << c2 << c3 << c4 << "END OF OUTPUT";
cout << endl;
```
```
Enter a line of input
abc
```

The dialog is:
Enter a line of input
abc
END OF INPUT
The get member gets every character input, including the .

Computer Science & Information Technology

You might also like to view...

MLA style requires that all elements in a document be ________-spaced

Fill in the blank(s) with correct word

Computer Science & Information Technology

Bob is installing a new financial software program on his home computer. The program will most likely be installed on the ________ of his computer

Fill in the blank(s) with correct word

Computer Science & Information Technology