[SOLVED] Creates a Vector that will accept the names of five animals

7.00 $

Categories: ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Vector.zip (3592.8 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (2 votes)

Creates a Vector that will accept the names of five animals

Creates a Vector that will store a list of five animal ages

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.

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 the list

  • Vector.zip