Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!