Preview

ElizabethFlaimFP

Good Essays
Open Document
Open Document
1289 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
ElizabethFlaimFP
CMIS 102 Final Project

Student Name: Elizabeth Flaim
Class/Section: CMIS 102, Section 7982
Professor Name: David Castillo
Assignment Due Date: December 14, 2014
Problem Definition: Design a program that allows a user to input a list of family members, along with their age and the state where they live. The program will determine and print the average age of the user’s family. The program will also print the names of any family member that lives in Texas. The program design should also allow the user to enter at least 50 family members.
A. Problem Analysis
Objective: Devise a program that will allow a user to input a list of family members with their age and state where they live. Once the list is complete, the program will calculate and print the average age of the user’s family and also print the names of any family members that live in Texas. All three items, the input, average, and printing family members from Texas will require the use of repetitive programming statements/loops.
Outputs:
Average age of the family
AverageAge (as a float variable)
Name of family member
Name (as a string variable array)
Inputs:
Name of family member
Name (as a string variable array)
Age of family member
Age (as an integer variable array)
State of family member
State (as an string variable array)
Derived Inputs:
Number of family members will be derived by adding the number of times that the user enters the names of family members into the program.
NumFamily (as an integer variable)
Sum of ages will be derived from a loop that runs the same number of times as there are family members, adding together the ages as the loop runs.
SumOfAges (as an integer variable)
Calculation Approach:
The average function will be used to calculate the average age of the family members. It works by dividing a sum of numbers by the number of numbers.
Function Average (Sum, Num)
Set Average = Sum / Num
End Function
The program will calculate the family members who live in

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Acc/531 Week 4

    • 646 Words
    • 3 Pages

    6. A statistician wanted to determine if the demographic variables of age, education, and income…

    • 646 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CEIS100 W5 ILab Report

    • 320 Words
    • 2 Pages

    The objective was to create a program using python. The program should successfully ask the user to input his or her name. Then ask the user to enter his or her age. If they are older than 16 then they can drive a car. Display this message along with their name. Then end the program by stating the users name, and that it is nice to meet them.…

    • 320 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 3 Assignment

    • 256 Words
    • 2 Pages

    Write a program to input a string and then display it in Upper Case and also print the frequency of any character from the string.…

    • 256 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Pt1420 Unit 3 Essay

    • 966 Words
    • 4 Pages

    4- Select two same age elderlies per gender. Select two same age adults per gender. Do the same with the Children.…

    • 966 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Elizabeth Ann Eckford attended Central High School. Central High School was located in Little Rock, Arkansas. Elizabeth was one of the nine African-American students who attended the 1957 integration of Central High School. Elizabeth was born October 4, 1941(Wikipedia). Elizabeth is 74 years old today.…

    • 254 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    |I started my family tree 15 years ago asking relatives about themselves and their family members, researching census records on microfiche in libraries, reading |…

    • 695 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    UNIT 2

    • 470 Words
    • 3 Pages

    5.) Write the pseudocode for a program that will determine the average miles per gallon a car gets. (Inputs should be miles driven and gallons of gas used)…

    • 470 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    INFERENTIAL STATISTIC

    • 541 Words
    • 5 Pages

    Here is an example of the statistics of our results describing the total number of people from minimum age to maximum from ages 35 to 55. Mock data for the independent variables for Melks.…

    • 541 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    CMIS 102 Homework 3

    • 342 Words
    • 3 Pages

    Program Description - This program will allow a user to input their name and final grades from their courses and calculate their GPA accordingky. The amount of students as well as the amount of classes each student is taking, are undetermined.…

    • 342 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    D. Calculate the assignment average for the first student in cell I8. The formula should drop the lowest score before calculating the average. Hint: You need to use the combination of the three functions: SUM, MIN, and COUNT. The first student’s assignment average is 94.2 after dropping the lowest assignment score.…

    • 472 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Friedman Family Assessment

    • 1725 Words
    • 7 Pages

    The personal identifying information such as full name, address, and phone number are not used so the family’s identity remains confidential. The assessment of the family revealed a complex system. This is a nuclear/blended family with traditional male/female roles. Each spouse has two children from previous marriages. Those children are grown, married with children, and live in different cities. They share a son aged 12. Each member brings his or her own expectations to the group.…

    • 1725 Words
    • 7 Pages
    Better Essays
  • Satisfactory Essays

    Name and Example Output

    • 492 Words
    • 2 Pages

    1) Display the the name of each student and what zipcode they live in. sort them by last and then first name in ascending order…

    • 492 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Family Assessment Paper

    • 1328 Words
    • 6 Pages

    The Harvey Family is a traditional family that is composed of 4 family members. AH is the father and is a 39 year old black male with a college degree in business. He is a plant manager at a steel mill in Jackson, MS. Mrs. BH is also African American and is the mother of the family. She is 35 years old and teaches at one of the local high schools in Jackson, MS. Mr. and Mrs. Harvey have 2 kids. CH is a 13 year on girl who is in the 7th grade and has asthma. Her brother, DH, is 6 years old in the 1st grade with no present known medical history. The whole family takes weekend trips every other weekend. They enjoy hiking, amusement parks, computers, shopping, and site seeing. Parents’ perception is that they are hardworking, good citizens who strongly believe in God and their religious beliefs are Methodist. This family appears to be in good health and proud parents of 2…

    • 1328 Words
    • 6 Pages
    Better Essays
  • Satisfactory Essays

    Math 533 Aj Davis Part B

    • 872 Words
    • 4 Pages

    Problem N°3: The average (mean) number of years lived in the current home is less than 13 years.…

    • 872 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    To find out the population growth of a certain area (namely my home town of Powell, Tennessee) I visited a local cemetery to record data from the headstones. The information I collected was sex and age at death. I then charted these findings to establish the number of male and female deaths during a certain century, and the average age of each at the time of death.…

    • 475 Words
    • 2 Pages
    Satisfactory Essays