Preview

Output and Average Age

Powerful Essays
Open Document
Open Document
1584 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Output and Average Age
Your final project will be to 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. The specific problem you need to solve for the final project is: 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 Texas. 1. Problem definition: 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 Texas.
Note: Your pseudcode, flow-chart and test cases will be submitted next week.

1 a) Write the problem statements as of what is needed to solve this problem.
Ans 1a)
First, I must create a program that will allow the user to input a list of their family members that will include their age and state of residence. The program will also compute and print out the average age of the family as well as print out the names of every family member that resides in the state of Texas.

1 b) Write your analysis of the problem and the design approaches that you will take to solve this problem.
Ans 1b)
To begin with, I must first identify the input information. From the problem definition, I gathered that I will have 3 types of input data and they are: Family Members Names, Age, and State of Residence. The output data will consist of the average age of all the members of the family. Also I need an output printout of each family member that reside in Texas. Therefore, in my program I must be able to allow the user to input the information

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Write a program that can be used by a small theater to sell tickets for performances. The theater’s auditorium has 15 rows of seats, with 20 seats in each row. The program should display a screen that shows which seats are available and which are taken. For example, the following screen shows a chart depicting each seat in the theater. Seats that are taken are represented by an * symbol and seats…

    • 703 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Mis 302 Flowchart

    • 262 Words
    • 2 Pages

    Accept the user input as the credit score and based on the input value print the meaning of credit score and the percentage of population with that credit score. Make sure to design valid exit criteria of your own and document that.…

    • 262 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It206 Wk4 Scenarios

    • 918 Words
    • 4 Pages

    The challenge in this situation is that the user wants to use a program that is new to him. I will have to explain to the user the basic functions of Excel to see if those functions match what the user wants to do.…

    • 918 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    * Lines 12 and 13 ask the user for the next participants age and gets the next…

    • 313 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    C228 Task 1 WGU

    • 4743 Words
    • 16 Pages

    age twenty-five and up make up sixty-seven percent of the population of [city/county name] City…

    • 4743 Words
    • 16 Pages
    Powerful Essays
  • Satisfactory Essays

    Comp 122 Week 1 Ilab

    • 662 Words
    • 3 Pages

    3. Design an algorithm in pseudocode to solve the problem. Make sure to include steps to get each input and to report each output.…

    • 662 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    3.03 Mendel

    • 703 Words
    • 3 Pages

    Record the traits of each member of the family (parents and offspring) that you surveyed. Add more rows to the table for additional offspring as needed.…

    • 703 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Finger and Ear Lobes

    • 566 Words
    • 3 Pages

    Record the traits of each member of the family (parents and offspring) that you surveyed. Add more rows to the table for additional offspring as needed.…

    • 566 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Homework 1 SPSS

    • 275 Words
    • 2 Pages

    2 for all others. Be sure to use the “All others” choice. There is no need…

    • 275 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    I am going to conduct calculations using average and percentage ,also I am going to find out the mean,median and mode of this hypothesis,I am also going to conduct graphs and charts using excel. ,I am also going to collect data using a questionnaire ,on the general public with a large age range of children.…

    • 3085 Words
    • 13 Pages
    Powerful Essays
  • Good Essays

    In the county the population was spread out with 22.90% under the age of 18, 12.80% from 18 to 24, 34.80% from 25 to 44, 19.80% from 45 to 64, and 9.70% who were 65 years of age or older. The median age was 32 years. For every 100 females there were 93.00 males. For every 100 females age 18 and over, there were 89.70 males.…

    • 412 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Cognition Handouts

    • 723 Words
    • 3 Pages

    Choose from the list of problem scenarios below. Using the steps involved in problem solving that were discussed in the chapter, describe how you would go about solving this problem.…

    • 723 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Survey: Traits

    • 500 Words
    • 2 Pages

    Record the traits of each member of the family (parents and offspring) that you surveyed. Add more rows to the table for additional offspring as needed.…

    • 500 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Analytical Puzzle Problem

    • 281 Words
    • 2 Pages

    This analytical puzzle involves a census worker asking a mother for the ages of her three children. We are told that the product of the children’s ages is 36, and the sum of their ages is the same as the address of the house to the north. After being given this limited information, the census worker looks at the address next door, and returns to ask the mother for more information. The mother simply tells the census worker that the oldest child is sleeping upstairs.…

    • 281 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Psychology Assignment

    • 1556 Words
    • 7 Pages

    10. College XYZ wants to collect information from students concerning a plus/minus grading system (the college administration wants to add minus grades to the plus values…

    • 1556 Words
    • 7 Pages
    Good Essays