Necessary Calculations
The variable AvgAge (declared as Float) will be used in order to calculate the average age. A loop will go through each value of the Ages array, keep a running total sum, then divide that total by the variable Size to get the average age.
//NOTE: I use Float instead of Integer because there is a possibility of losing a trailing decimal if //numerical data is calculated as an Integer.
AvgAve = sum of all ages Size
So for example, if 13 family members are entered and the sum of all their ages is 169, AvgAge would equate to 13.
What is the required output?
Output to the screen will include: • The average age of all the user's input; and • The names of family members that reside in Texas.
What is the