CHALLENGE - Find the Standard Deviation
Here is an assignment I got in my intro to C++ class and I thought it was valuable to help me learn how classes work and also stretch the way I thought about functions. Write a class called Person that has two data members - a string variable called name and a double variable called age. It should have a constructor that takes two values and uses them to initialize the data members. It should have get methods for both data members (getName and getAge). Write a separate function (not part of the Person class) called stdDev that takes two parameters - an array of Person objects and the size of the array - and returns the standard deviation of all the ages (the population standard deviation that uses a denominator of N, not the sample standard deviation, which uses a different denominator). Here is my submittion in c++: https://code.sololearn.com/cF5N5453hcSP/#cpp