Develop an array of peoples first names

Assignment Help Data Structure & Algorithms
Reference no: EM131310053

Assignment

• Create an array of people's first names. Using a loop, read the names from a text (txt) file, and store each one into the array. The array should allow for a maximum of 100 entries. Continue to read in first names and store them into the array. The last entry in the text file, containing "LastOne," will indicate the end of the list of names.

• Prompt the user for a first name.

• Loop through the array to determine if the first name entered exists in the array. If a match is found, display a message that includes the name and a message indicating that there was a match found. If no match is found, display a message so indicating.

• Using a loop, continue to prompt the user for first names and determine if a match in the array is found. The loop should continue until the user indicates "stop" as the first name.

Reference no: EM131310053

Questions Cloud

What is the excess burden of taxation : What is the excess burden of taxation? why is there an excess burden, and what factors affect the size of the excess burden for a specific tax?
What each of the women might think about women current role : Women's Roles Then & Now. Script. Script a conversation between two (2) notable women from the 18th and / or 19th century on the roles women should play in society. Within the dialogue, include: What each of the women might think about women's curr..
Discuss reasons for supporting-not supporting specific plans : Imagine you are the CEO and the Human Resource Director and CFO are discussing retirement plans for your company of 200+ employees with 20 Highly Compensated Employees. The firm maintains high levels of profitability and growth. Discuss the various p..
Differences in the thumbprints of a connection : Initially, they are synchronized. After some period of time has passed, the clocks will show different times.
Develop an array of peoples first names : Create an array of people's first names. Using a loop, read the names from a text (txt) file, and store each one into the array. The array should allow for a maximum of 100 entries.
Begin improving trexlers component quality : If Integrated Devices decides to continue using Trexler as a supplier, what must both companies do to begin improving Trexler's component quality?
Understanding the role of the project manager : Discuss reasons for understanding the role of the project manager, project leadership, and the project team (LO7). Discuss two types of conflict that might arise during a project. Describe a situation in which you have experienced these types of c..
A company issued preferred shares two years : A company issued preferred shares two years ago, paying a $3.85 dividend, which offered investors an original yield of 9%. Currently, the required return on companies with preferred shares of comparable risk yield 9%. Given this information, what sho..
Write about terrorism and how terrorism affects americans : Write a 1,050- to 1,400-word essay in which you consider why the topic should be included in your list, how this topic affects Americans and the wider global community, what remedies and policies have been implemented on this topic/issue, and viab..

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Ambiguity in proposed algorithm-in representation algorithm

Describe distinction between the ambiguity in proposed algorithm and ambiguity in representation of the algorithm.

  Explaining simple symmetric encryption algorithm

Consider a simple symmetric encryption algorithm as follows:Is it a problem if the first block of input happens to be the same as the key? Explain why?

  Documentation and proper design procedures

Determine the main reason that make many developers skip over the documentation and proper design process? As a manager, discuss how do you ensure that the proper database design process are followed by database development teams?

  Create the shoutbox class for your virtual world

Create the ShoutBox class for your Virtual World. Your ShoutBox class will have two methods - initialize your data structures with words or have the user enter the words

  Calculate the diffie-hellman key values

Calculate the Diffie-Hellman key values. Calculate values for both keys (secret key a and secret key b). You must show your work for full credit.This includes the calculations each person performs to calculate and verify the values.

  Write a code fragment to find the hottest and coldest days

Declare an array of double of size 365 to store daily temperatures for one year. Using this data structure, write a code fragment to find the hottest and coldest days of the year. The average temperature of each month.

  Find a stable state in a hopfield neural network

Consider the problem of finding a stable state in a Hopfield neural network, in the special case when all edge weights are positive. This corresponds to the Maximum-Cut Problem that we discussed earlier in the chapter: For every edge e in the grap..

  Write true if the statement is true or false

It is impossible to over-train a multi-layer feed-forward network using the back-propagation learning algorithm. It is guaranteed that the longer you train your system, the more accurate it will perform.

  What is procedural or algorithmic programming

What is procedural or algorithmic programming? What is object-oriented programming? What is the role of code reuse in object-oriented programming

  Question 1a explain the meaning of each of the following

question 1a explain the meaning of each of the following pointer declarations-i float a -0.137float pa ampaii double

  Give time algorithm that outputs satisfying assignment

Find out  whether there is an assignment of true/false values to the literals such that at least a*m clauses will be true. Note that 3-SAT(1) is exactly the 3-SAT problem. Give an O(m*n)-time algorithm that outputs a satisfying assignment for 3-S..

  Write down a 2 page research paper excluding the title page

write a 2 page research paper excluding the title page on algorithm types summation product selection sort bubble sort

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