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

  Evaluate the megatrend of demographics

Evaluate the megatrend of demographics in the IT field. Give your opinion as to why IT managers must understand this megatrend when selecting talent for organizational positions.

  What is the total size of the memory

Part a) A memory is byte addressable and has a 12-bit address. All the addresses are valid. What is the total size of the memory?

  A cyber stalker and you are going to stalk

A cyber stalker and you are going to stalk yourself.

  Determines the number of multiplexes in a given community

What do you think determines the number of multiplexes in a given community?What factors do you think determine whether it is less costly for a firm to have fewer facilities with more screens (a larger facility) or more facilities with fewer screens ..

  Why did you define and assign a sales area to your company

Why have Scheduling Agreements become so important for component suppliers serving manufacturers?

  Symmetric encryption scheme

Symmetric encryption scheme

  Size of a data set hundred-fold

If you increase the size of a data set hundred-fold, how much longer does it take to sort it with the following sort algorithms?

  Explain the importance of situating a society''s cultural

Explain the importance of situating a society's cultural

  The disadvantages of allowing unlimited access

Employers can use a number of products to monitor their employees' use of the Internet. These products report an employee's access of non-business related Web sites. Advocates insist that these products conserve network resources, make workers mor..

  Which implementation of the adt dictionary are efficient

Implement the symbol table described in Exercise 5 by reusing the class Tree Dictionary , as described in Section 18.2.2 of this chapter.

  The tif program case study illustrates

The case outlines for various implementations or rollouts that a number of committees, boards or groups were structured for the program. Why do you think that there were different types of groups formed? What role would they have played and what s..

  Average mileage for the four months

Sue drove her car 253 miles in January, 277 miles in February, and 280 miles in March. If her average mileage for the four months from January to April is to be at least 284 miles, how many miles must she drive in April?

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