Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Your assignment is just to modify the simple hello world program so that it collects some information from the user, and then echoes a

C++

image text in transcribed

Your assignment is just to modify the simple hello world program so that it collects some information from the user, and then echoes a more personal greeting, modeled after a famous line from The Princess Bride. Here's what a transcript of your program should look like: Enter your name: Inigo Enter a relative: father Hello. My name is Inigo. You killed my father. Prepare to die. Your program asks for the name, and relative, stores the responses, and prints the greeting line at the end. That's it. Pretty easy, right? Hopefully so. Note: if you want to collect names / relatives with whitespace, e.g., "Inigo Montoya, or great grandmother's second cousin, then you'll want to use getline(cin, stringname) rather than cin >> stringname, but it is not required to do so. You may want to start with a template that looks something like this: #include 2 using std::cin; 3 using std::cout; 4 #include 5 using std::string; 7 int main() { 10}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security

Authors: Alfred Basta, Melissa Zgola

1st Edition

1435453905, 978-1435453906

More Books

Students also viewed these Databases questions

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago