Write a function which is called from the main module


THIS IS PSEUDOCODE
1. Assume that your family has 10 members. Assume further that each family member has a certain amount of savings. Your task is to determine: (a) the total amount of savings that the family has, as a whole and (b) to determine who has the largest savings. To solve this problem:

a. Show the pseudocode declarations needed to declare two arrays - one an array which contains the names of the family members, and the other an array which contains the savings (i.e. money) held by each family member. The arrays are parallel arrays because the savings shown in the second array for a certain array position are the savings for the family member whose name appears in the same position in the first array. 

b. Write a function, which is called from the main module - this function will determine and return the total savings. 

c. Write a function also called from the main module - this function will determine and return the array index containing the largest savings. Your main program should then print the name of the person who holds those savings, as well as the amount

2. Analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as at least one function call and the use of at least one array. Each of these items (sequential code, at least one selection statement, at least one loop, at least one function call, at least one array and associated processing of the array) is required, and must be present in your code.

3. The specific problem you need to solve: Design a program that will allow a user to input a list of your family members 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 live in Iowa. You may assume that there are no more than 100 living relatives in your family.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a function which is called from the main module
Reference No:- TGS0112446

Expected delivery within 24 Hours