Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ Create program Lab01b that.: 1. Creates a Vector that will accept the names of five animals 2. Creates a Vector that will store a
C++
Create program Lab01b that.: 1. Creates a Vector that will accept the names of five animals 2. Creates a Vector that will store a list of five animal ages 3. Accept the names and ages of one to five animals. (5 points) stopping at either 5 or when the person enters the word STOP, stop or Stop. You MUST use push back when adding items to the vector. You may presume that the animal names are all one word. 4. Displays the following (5 points) d. name of the Program author and the Authors major a. Displays a blank line b. Displays a list of animals and their ages. Do NOT print more names then you have items in the listStep 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