Your objective is to write to write a complete C++ that Prompt the user and store their inputs in acceptable variables for a. O a name (it may contain a space) O an adjective O a noun (may contain spaces) O a pronoun O a part of the body (may contain spaces) O a positive number b. Display the message below in the exact format Please excuse name, who is far too adjective to attend noun class. Furthermore, pronoun is sick with the part-of-the-body flu. It will take positive-number days for name to recover. where name, adjective, noun, pronoun, part-of-the-body, and positive-number are the values of their respective variables from the previous step. After the body of the main function, write a trace table list of the main function with the inputs с. ( "Alex Jane", "anxious", "chemistry", "she", "eye" , 12) as a comment

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 8SA
icon
Related questions
Question
100%

Your objective is to write to write a complete C++

Your objective is to write to write a complete C++ that
a. Prompt the user and store their inputs in acceptable variables for
O a name (it may contain a space)
an adjective
a noun (may contain spaces)
O a pronoun
O a part of the body (may contain spaces)
O a positive number
b. Display the message below in the exact format
Please excuse name,
who is far too adjective to attend noun class. Furthermore, pronoun is sick
with the part-of-the-body flu. It will take positive-number days for name to recover.
where name, adjective, noun, pronoun, part-of-the-body, and positive-number are the values of their respective
variables from the previous step.
After the body of the main function, write a trace table list of the main function with the inputs
C.
("Alex Jane", "anxious", "chemistry", "she", "eye" , 12)
as a comment
Transcribed Image Text:Your objective is to write to write a complete C++ that a. Prompt the user and store their inputs in acceptable variables for O a name (it may contain a space) an adjective a noun (may contain spaces) O a pronoun O a part of the body (may contain spaces) O a positive number b. Display the message below in the exact format Please excuse name, who is far too adjective to attend noun class. Furthermore, pronoun is sick with the part-of-the-body flu. It will take positive-number days for name to recover. where name, adjective, noun, pronoun, part-of-the-body, and positive-number are the values of their respective variables from the previous step. After the body of the main function, write a trace table list of the main function with the inputs C. ("Alex Jane", "anxious", "chemistry", "she", "eye" , 12) as a comment
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning