Preview

Final Project Part 2 Essay Example

Satisfactory Essays
Open Document
Open Document
467 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Final Project Part 2 Essay Example
CMIS102 Final Project Part 2(Worth 20% of your grade)

Student Name: David Cline
Class/Section: CMIS 102 Section 7383
Professor Name: Tiffany Johnson
Assignment due date: 11/25/2012

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 problem analysis should have already been submitted as part 1 of the assignment. A. Program Design – Following the directions in the assignment, clearly write up your problem design in this section and comment your pseudocode.

Module Main()
Declare s_Names as String Array // Array to store names
Declare s_Age as Int Array // Array to store ages
Declare s_State as String Array // Array to store state of residence
Declare i_Count as Int // Variable to hold count of total family members
Declare f_avAvg as float // Variable to hold average family age
Declare lc as Int // loop counter
While (have more family members to enter) // loop to input family data Display “Enter Member Name:” Input s_Names(lc) // Input name Display “Enter Member Age:” Input s_Age(lc) // Input age Display “Enter state” Input s_State(lc) // Input state Increment lc and i_Count
End while calcAverageAge(s_Age, i_Count) // Call module to calculate and display average age call printTexans(s_Names, s_State, i_Count) // Print names of Texans
End Main

Module calcAverageAge(s_Age, i_Count) // Module to calculate average family age Declare f_Avg as

You May Also Find These Documents Helpful

  • Powerful Essays

    4. The calculation should be executed only after all the valid input values are provided.…

    • 1488 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    For each scenario below, explain how and why you would schedule an appointment or suggest a referral based on that patient’s reported symptoms. First, review the “Guidelines for Patient- Screening Exercises” found on page iv in the “Introduction.”…

    • 558 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    James Cash Penney opened his first store located in Kemmerer Wyoming in 1902, at the age of 25. The first store was opened in partnership between Penney, T.M Callahan and Guy Johnson as a ‘cash only’ store, refusing to take mining script or extend credit. Investing his entire savings of $500, Penney had to borrow $1,500 and was cautioned against his ‘cash only’ policy, as other stores in mining towns had been failing. The store was a success in spite of bankers warnings earning $28,898 in sales. Within two years Penney bought out Callahan and Johnson, and Penney had taken over their three other stores. Expanding rapidly, by 1915 there were 83 stores and by 1917 there were 175. Currently there are over 1,200 with over 205,000 employees stores ranging from the all 50 states as well as Puerto Rico, Mexico and Chile, the company is currently headquartered in Plano Texas.…

    • 1525 Words
    • 7 Pages
    Powerful Essays
  • Powerful Essays

    Peachtree is an accounting software program sold by Sage, whose parent company is the Sage Group. The software is geared for use by small- to medium-sized businesses and has progressed through several generations over the years since its conception. Initially, Peachtree was sold by Peachtree Software, a company that was established in 1978. Peachtree accounting software was acquired by the Sage Group in 1998.…

    • 3450 Words
    • 14 Pages
    Powerful Essays
  • Satisfactory Essays

    Erythrocytes provide oxygen to the body, they’re red blood cells, and have an even leveled surface.…

    • 767 Words
    • 4 Pages
    Satisfactory Essays
  • Better Essays

    Unit 12 P4 Essay Example

    • 1351 Words
    • 6 Pages

    P4-Describe the benefits and opportunity to the business of using internet marketing within the marketing mix?…

    • 1351 Words
    • 6 Pages
    Better Essays
  • Satisfactory Essays

    He needed to report done by a specific day but did not allow time to complete.…

    • 408 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    This is our first individual assignment for Programming unit this semester. This assignment was given in December 2013, and submission date is on 10th February 2014.…

    • 1859 Words
    • 8 Pages
    Good Essays
  • Good Essays

    ElizabethFlaimFP

    • 1289 Words
    • 7 Pages

    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.…

    • 1289 Words
    • 7 Pages
    Good Essays
  • Good Essays

    Lit1 Task 2 Essay Example

    • 841 Words
    • 4 Pages

    to take medical leave when the employee is unable to work because of a serious health condition;…

    • 841 Words
    • 4 Pages
    Good Essays
  • Good Essays

    What does Edwards mean when he says, “The bow of God’s wrath is bent, and the arrow made ready on the string”?…

    • 772 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

     How might you use the strategies for applying creativity to problems and issues in addressing this topic?…

    • 435 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Incline Motion Lab

    • 509 Words
    • 3 Pages

    Purpose – The purpose of this experiment was to find how position and time are related to a ball on an incline.…

    • 509 Words
    • 3 Pages
    Powerful Essays
  • Good Essays

    Urie Brofenbrenner is an American developmental psychologist who is best known for his Ecological Systems Theory of child development. This theory “focuses on broad, interconnected influences on human development. It proposes that we can best explain development in terms of the interactions between individuals and the environments in which they live (Mossler, 2013, Chapter 2, Section 2.6, Urie Bronfenbrenner and the Ecological Systems Theory,” para 1). While reviewing the Looking into the Past assignment I decided on the two events listed in the following pages to explain how these events and the Brofenbrenner theory affected me.…

    • 1216 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Consider how the writing process you read about in this class differs from the process you have used in the past. What specifically have you done in the past compared to what you read about this week?…

    • 944 Words
    • 4 Pages
    Good Essays