Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment two cin and cout This assignment is to practice creating and using variables. You will need to define 11 string variables to hold the

Assignment two cin and cout

This assignment is to practice creating and using variables.

You will need to define 11 string variables to hold the following types of data: 2 plural nouns 7 adjectives 2 noun You will need following numeric types: 1 integer variable 1 double variable. 1 double variable that hold the result of multiplying the contents of the integer and double variables read in.

It helps if you give your variables meaningful names.

Your program will ask the user to enter the appropriate data. Your program will read the data in using cin statement(s).

Once all of the data has been entered you will output the following story (using cout) substituting the data you read in for the part of speech within the <>.

My new pet By There are so many that make pets. I recently got new and couldn't be more . It is and and only cost . These set me back while others enjoy ones. At the end of the day, I'm for my pet and I wouldn't choose anything else!

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 Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions

Question

=+ Who do you think is right? Why?

Answered: 1 week ago