Question: There are 2 parts to this assignment. Write a C + + program following the instructions below AND answer the given questions in a separate

There are 2 parts to this assignment. Write a C++ program following the
instructions below AND answer the given questions in a separate word document.
I. Program
Open a new project in Visual Studio Community 2022 and name it in the form of
Lastname_CourseSection_Assignmentnumber.
(So I would name my project: Moorthy_EGR111ONL01_Assignment1)
Write a C++ program that uses a switch statement to allow the user to select a
type of pet from the following options: 1. Dog, 2. Cat, 3. Bird, 4. Fish. After selecting
a pet, the program should prompt the user to answer two questions specific to that
pet type.
For example:
If the user chooses Dog, the questions could be:
1. What is your dog's name?
2. How old is your dog?
Make sure to include appropriate prompts and responses for each type of pet.
Requirements:
1. Use a switch statement to handle the pet selection.
2. Store the answers in variables and display them after both questions for the
chosen pet have been answered. (i.e. something like Your dogs name is Loki
and it is 2 years old!

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 Programming Questions!