Introduction to Programming (C++): Create a program with three vectors (be sure to use: #include ) : One vector for the last name One vector for the first name One vector for the age of the person (whole number) **You determine what sentinel value to use to stop input** So input different kinds of people (first name, last name, and age) until you get to the sentinel value and then output the list of people Calculate the average age of the people and then calculate the Standard Deviation of the ages. Expect to see the means, a function to display the list of names and ages, a function to get the average, and a function to calculate the Standard Deviation **Please use at least 10 people**
Introduction to
Create a program with three vectors (be sure to use: #include <vector>) :
One vector for the last name
One vector for the first name
One vector for the age of the person (whole number)
**You determine what sentinel value to use to stop input**
So input different kinds of people (first name, last name, and age) until you get to the sentinel value and then output the list of people
Calculate the average age of the people and then calculate the Standard Deviation of the ages.
Expect to see the means, a function to display the list of names and ages, a function to get the average, and a function to calculate the Standard Deviation
**Please use at least 10 people**
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images