1. Problem Statement:
Design a program that will allow a user to Input a list of your family member along with their age and state where they reside. Determine and print the average age of your family and print the names of anyone who lives in Texas.
a. Input : List Mom(AGE 55), dad(AGE 60), brother 1(AGE 26) brother 2(AGE 30), sister (AGE 23)
b. Output: List average age and where they live
c. Describe the process of deriving output from input.
Using a flow chart, module, and pseudocode will determine where each person lives and the average age.
d. Describe any necessary variables, formulas, and sample calculations that might be needed. (f) Describe variable names
Where they live- location
Brother 1- Oldest
Brother 2- youngest
Mom, dad, brother 1 brother 2, sister,- family members
Formulas- function, arrays, repetitive and pseudocode
e. Define high level solution that will comply with the project specification (input and output)
Using the input and output we will find out who resigns in Texas and who does not.
Declare family members as float
// prompt for input the names of the family:
Call Mom as float
Call dad as float
Call brother1 as float
Call brother2 as float
Call sister as float
“Computer average age”
Mom_age55 as an interger
Dad_age60 as an interger
Brother1_age26 as an interger
Brother2_age30 as an interger
Sister_age23 as an interger