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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started