Design a program that will allow a user to input a list

Assignment Help Basic Computer Science
Reference no: EM131193579

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

For this part of the deliverable, there are 2 components of your submission including:

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.

Additional details about the program you need to write:

Family sizes vary, however you should design to be able to enter at least 50 Family members.

Your test cases should have at least 5 family members.

Be sure to separate some functionality into functions or submodules. Having all functionality in the main module is not a good design.

Your design should consider how to indicate the family member entry is complete.

Carefully consider the best data type for each of your variables. (e.g. when to use Float versus Integers versus Strings) 

Additional Requirements

Analysis: off course this is the first step every software development life cycle starts from.Especially the preliminary investigation is one of the major parts with the requirements specification.

Now I have a problem I need to familiar the problem

Requirements 

  • I need to have 3 arrays one for storing members name, another for storing age and the last one for the state where they reside. Now array must have predefined size now it's given 50 in this problem

3 Arrays are here
String Name[50];
Integer age[50];
String state[50];

  • Looping is required for the positing for getting input and display output as well.

For loop

  • Variables required for calculations

For example for Average age we also need 
floataverage_age;

  • Functions for the calculate age so that that can be something like usable component

Void  getAverageAge();

  • Ask user to input the number of member he/she is looking for and store it a variable( say number).

For example

Input 5

Then loop will be running from 0 to 4 and that will be asking for 

Please enter member's name
Please enter age 
Please enter state

Reference no: EM131193579

Questions Cloud

Database security cots security comparisons : You need to pick one subject just from underneath and ought to be referenced in the event that you separate some data from other site on the grounds that there is an uncommon system to look at all over the net for written falsification. Paper topi..
Health benefits in being active in playing volleyball : How to make an introduction for a research writing with the topic of "Health Benefits in being active in playing volleyball" with 20 Research papers or Review of Related Literature that will support the study about the health benefits.
Are there any dominant modes of thinking : Which of Herrmann's four quadrants is best suited for engineering? Are there any dominant modes of thinking that are not ideal for engineering? Explain your answers.
Transmission of expansionary monetary policy : Which of the following correctly indicates a potential path for the transmission of expansionary monetary policy to the goods and services market?
Design a program that will allow a user to input a list : 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. For this part of the..
Problem regarding the main drainage channel : When a drainage system (i.e. u-channels with catchpits) is connected to a main drainage channel, a segment of short pipe is used. What is the reason of such arrangement?
Explain the four types of precautionary statements used : Explain the differences between product safety labeling and environmental signage. Identify the four types of precautionary statements used for HazCom labels, and provide sample wording for each.
Identify whether these are potential and kinetic energy : Discuss any ethical or practical considerations that might arise from this application of the concept. These might include (but are not limited to) environmental impact, safety concerns, or issues of effectiveness.
Planned replacement for company anti-virus application : Write a short "newsletter" article (3 to 5 paragraphs) for non-technical managers to tell them about the planned replacement for the company's anti-virus application.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Explain hacktivism includes cracking for higher purpose

And "hacktivism" includes cracking for "higher purpose". Is it feasible to crack systems and still be ethical? Support the position.

  Decision support system scenario analysis

Assumption: Your Company was able to purchase major holdings in FaceTalk. As a result of the stellar work of your committee, all of you were given big bonuses at the end of the 4th quarter.

  Green computing research

Green Computing Research Project, Part 2 in Appendix CCongratulations!You have been selected as the project manager for the Green Computing Research Project.  The company's CIO, Ben, is the project sponsor, and Ito is the program manager for the larg..

  How big would a transistor be on next year''s model

how big would a transistor be on next year's model

  The internet architecture model

Explain how the OSI/Rm layers equate to the Internet architecture model layers.How does cloud computing benefit mobile devices?

  Apply the operation for the table to the values

For each cell in the table, apply the operation for the table to the values at the top of the row and at the beginning of the column for that cell, just as you would fill in values in a multiplication table.

  Chooses to commit more resources to increase profits

2. If AppleBerry chooses to commit more resources to increase profits, should it purchase more fabrication time, assembly time, machining time, or raw materials?

  Low enforcement agencies during an incident

Low enforcement agencies during an incident

  Utility auditing program based

Design, implement, test, and debug a Visual Basic® program to create an enhanced home utility auditing program

  Setup the layout of a webpage

Describe in detail how JavaScript can be used for input validation on the client side. Explain how the division element is used to setup the layout of a webpage.

  Any difference in memory allocation of these two

Any difference in memory allocation of these two?

  Isp for connecting to corporate wan to the internet

What kind of media should the company request from it ISP for connecting to corporate WAN to the Internet

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd