Project #67280 - I need help to finish this program assignment- fill out test case and do psuedocode thats it

Program Description:

 The program will allow a user to Input a list of your family members along with their age and state where they reside. The program will then calculate the average age of the family members and print the average on screen. The program will also determine if any anyone lives in Texas and will print their names as well.

Analysis:

 

 

In the program we will use three arrays: name, state and age. The name array will store the names of all the family members.  The state array will store the state in which the member lives. The age array will save the age of the family member. We have also used two functions: printAverageAge and printTexas. printAverageAge will calculate and print the average age of the family members. printTexas function prints the name of all the family member who lives in texas.

 

  • Program Description- A detailed, clear description of the program you are building.
  • Analysis- Demonstrates your thought process and steps used to analyze the problem. Be sure to include the required input and output and how you will obtain the required output from the given input? Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations that might be needed. Talk about the functions you plan to use and how you will use arrays. Be sure to talk about the types of programming statements that will be used on why.
  • Test plan - Prepare at least 3 sets of input data (Test data) along with their expected output for testing your program. Your test data can be presented in the form of a table as follows (note: feel free to adapt to your design)
  • Pseudocode- Provide pseudocode of your overall design that fulfills the requirements of the project

 

Additional details about the program you need to write:

  1. Family sizes vary, however you should design to be able to enter at least 50 Family members.
  2. Your test cases should have at least 5 family members.
  3. Be sure to separate some functionality into functions or submodules. Having all functionality in the main module is not a good design.
  4. Your design should consider how to indicate the family member entry is complete.
  5. Carefully consider the best data type for each of your variables. (e.g. when to use Float versus Integers versus Strings)

 Example application test data:

Test Case #

Input

Expected Output

1

Fred, Age: 82, State: MD
Mary, Age:75, State: OH
Joe, Age: 45, State: TX
Julie, Age: 47, State: TX
Beth, Age: 9, State: TX

Average Age: 51.6
Members who live in TX:
  Joe
  Julie
  Beth

2

Your input data

Your expected output

3

Your input data

Your expected output

 

 

Project does not have any attached files

Subject Computer
Due By (Pacific Time) 04/19/2015 11:59 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy