This website uses cookies to ensure you have the best experience. Learn more

Programming Final Project Essay

624 words - 3 pages

Description

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 lives in Texas.

Analysis

For the purpose of this program, the user will be asked a series of questions requiring the input of name, age, and state for each of their family member until the number of family members is met. In order to carry out the given task of finding the average age of family members along with the ones who live in Texas, the program should include the function of calculating and displaying the age. It should also include the ability to take ...view middle of the document...

It will not print Collin since he is from Florida, Kim since she is from Alabama, and Luke since he is from Washington.

Psuedocode

Module Main()
Declare s_Names as String Array
Declare s_Age as Int Array
Declare s_State as String Array
Declare i_Count as Int
Declare f_avAvg as float
Declare lc as Int
While (have more family members to enter)
Display “Enter Member Name:”
Input s_Names(lc)
Display “Enter Member Age:”
Input s_Age(lc)
Display “Enter state”
Input s_State(lc)
Increment lc and i_Count
End while
calcAverageAge(s_Age, i_Count)
call printTexans(s_Names, s_State, i_Count)
End Main

Module calcAverageAge(s_Age, i_Count)
Declare f_Avg as float
Declare lc1 as Int
Declare sum as Int
While (lc1 < i_Count)
Sum = Sum + s_Age
Increment lc1
End While
f_Avg = Sum / i_Count
Print f_Avg
End Module

Module printTexans(s_Names, s_State, i_Count)
Declare lc1 as Integer
While (lc1 < i_Count)
If s_State(lc1) = “Texas”
Print s_Name(lc1)
End If
End While
End Module

Test Cases

|Test Case # |Input |Expected Output |
|1 |William-Age: 28, State: AL |Average Age- 34.2 |
| |Theresia- Age: 32, State: WA |Members from Texas- |
| |Jennifer- Age: 28, State: TX |Jennifer, Wade ...

Other assignments on Programming Final Project

Paper

1121 words - 5 pages DON BOSCO COLLEGE CANLUBANG COLLEGE DEPARTMENT CHAPTER III SYSTEM DESIGN AND DEVELOPMENT This chapter discusses the feasibility study of the proposed system and the software methodology used in developing the system. This chapter also discusses the GUI (Graphical User Interface), Data Dictionary and the HIPO that identifies the processing step to produce an output. 3.2 Project Design This section discusses the applicant’s proposed

Term Paper

1368 words - 6 pages models, interacting with the customer and making necessary modifications with customer approval, then placing them in an Engineering Release (ER) directory for programming. As soon as these electronic models are released, programmers use them to create production programs. All final programs must be thoroughly verified for accuracy before releasing to the Proof For Production (PFP) directory for manufacturing to make the production first article

Risk Management

2063 words - 9 pages . Initially these measurements will be used to verify that the system is in compliance with its requirements. Later they will be used to detect deterioration and initiate maintenance. Systems Engineering is accountable for making sure that all these tasks are performed in an engineering environment. However, the Systems Engineering process must be tailored for each project. Often this means omitting certain tasks, which reduces cost but increases risk

English

1604 words - 7 pages due to JKC training 3. Discussion 4. Objectives of undergraduate training 5. Conclusion 6. Recommendations 7. Works cited TermPaperWriter.org © 2009 TermPaperWriter.org 4 1. Introduction 1.1 Rationale Internship in the final year of a degree program is an important way of linking theory with practice and is essential for the metamorphosis of an undergraduate student to an industry employable candidate. All degree programs

Replacing People Soft

2733 words - 11 pages . The AUTs will provide the teams feedback in real-time (minutes or hours) as they are ran on an ongoing basis. Each stakeholder team involved in the TDD will sign off each test phase as done and ready once implemented and tested. Once signed as “done” the final approval will move on to the Project Manager/Leader and/or executive team. Work areas, development tools and workstations will be in place for each team and member. Each tester should

Unix Vs Ms Vs Mac

1794 words - 8 pages Running head: UNIX vs. MS vs. MAC 1 CIS-155 Final - UNIX vs. MS vs. MAC UNIX vs. MS vs. MAC 2 Abstract This paper will explore the history of UNIX, Microsoft (MS), and Macintosh (MAC) operating systems. Not only will I discuss the history of these systems, but I will also dive into the pros and cons of each. The benefits of each over

7mckinsey 7 S

9491 words - 38 pages and strategic thinking about e-learning system. This paper proposes a new framework for assessing readiness of an organization to implement the e-learning system project on the basis of McKinsey 7S model using fuzzy logic analysis. The study considers 7 dimensions as approach to assessing the current situation of the organization prior to system implementation to identify weakness areas which may encounter the project with failure. Adopted was

Supply Chain

3135 words - 13 pages . However, final approval is not automatic. To obtain final approval, a special authorization request is prepared for the project, spelling out the proposal in more detail. The authorization requests may be approved at various managerial levels depending on their nature and dollar magnitude. Program Budget Programming is deciding on the programs to be funded and by how much. A common application of program budgets is to product lines. Resources are

Thesis

3482 words - 14 pages Tutorial for Preschoolers (Alphabet, Numbers, Shapes, Colors and Animals) SERVDAD, REYCHELLE A. CRUZ, MARY JOY B. RAMIREZ, CHERRY A. A project submitted to the Mr. Ronel E. Asas of the Department of Computer Studies, Imus Campus, Cavite State University, Imus, Cavite in partial fulfillment of the final requirements for the subject ITEC55- System Analysis and Design. INTRODUCTION Preschool is a time for developing good learning

Childhood Obesity

2259 words - 10 pages Final Project Vicskeyas Faith Moore Strayer University Res/531 June 19, 2011 Dr. Ed Yancey Topic Childhood Obesity in the Mid-South is a growing disease. Description of Childhood Obesity Childhood Obesity is defined as children having the condition of being excessively overweight (The American Heritage, 2002). The Centers for Disease Control reports that this country has been struggling with obesity for well over 20 years now and

Chicken

3261 words - 14 pages Comprehensive HVAC Solutions & Services Districtwide (Not to Exceed an Increase of $2,000,000/$4,000,000 Annually/General Operating Funds/Bond Funds/Special Revenue Funds) -2- 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. Consider and Take Possible Action to Approve the Purchase of K-12 Curriculum Program from Project Lead the Way for the College and Career Readiness Department (Not to Exceed $900,000 Over Two Years/General/Special

Similar Documents

Resume Essay

307 words - 2 pages Controller using a GSM modem Final year B.E. Project • Implementing a GSM based SMS controller where a GSM modem and a micro controller work synchron Simulation of GRE Test Computer Programming Laboratory Project • Developed a GRE Test in Java which adjusts level of difficulty according to number of correct answers. Hotel Management in Visual Basic Database Management project • Developed a Hotel Management system using MS-Access as

Syllabus Essay

2182 words - 9 pages : | | | | | | | | | |List the application-level requirements for the Currency Conversion project. | | | | |Use a structured programming approach to generate an input-process

System Development Life Cycle Essay

4408 words - 18 pages experience of the individual people members performing the work. The history of systems development has a different fundamental change agent, a different factor which may be thought of as driving the history, of stimulating long-run changes. All system development efforts engage in some combination of the below tasks, System conceptualization, System requirements and benefits analysis, Project adoption and project scoping, System design, Specification

Grading System Essay

1687 words - 7 pages safekeeping. This is the main reason a grade monitoring system was proposed, for the benefit of accessible and instant search of grades by the students. Project Objectives The purpose of this project is to put into practice what we have learnt so far in our software engineering class. We spent most of the semester studying extreme programming. With extreme programming, the client knows how far he or her software is coming and knows what to except at