COSI 216: Programming in C++
The purpose of this assignment is to know how to
interface with users.
In specific, how do you ask user questions and store the answer
from user?
1. Use cout statements to ask user
two short-answer questions.
2. Use cin statements to store
user's answer in a memory box.
Note:
Before you use a memory box, you need to declare
it.
3. Reflect (Echo) user's answers.
That is, repeat what user enter in the next statement.
For example, (blue - programmer,
red -
user, purple - Memory Box)
| What is your name? Austin Nice to meet you, Austin What is your favorite number? 13 I like 13, too. |
4. Make up your own two questions for user.
5. Add a block comment for your name and assignment number with jobs.
6. Send your cpp file through e-mail to extrapo66@yahoo.com
Click here for the logic errors.
Click here for the syntax errors and identify the place where needs interface issue.