Continue to prompt the user for first names

Assignment Help Basic Computer Science
Reference no: EM131486343

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: EM131486343

Questions Cloud

Define social psychology : Discuss how social psychology can be applied to one of the helping professions ,organizational leadership, or management.
How much amount will insurance company pay for the damages : Eric Fowler and his wife Susan just purchased their first home, which cost $130,000. They purchased a homeowner's policy to insure the home for $120,000.
Calculate the weighted average cost of capital : Also, examine the 10k annual report and use the Capital Asset Pricing Model to Calculate the Weighted Average Cost of Capital
Government contractor working on a project : You are a network engineer for a midsized government contractor working on a project for a national government lab.
Continue to prompt the user for first names : Using a loop, continue to prompt the user for first names and determine if a match in the array is found.
Directaccess and remote access benefits : Consider the use of DirectAccess in organizations and indicate one (1) potential advantage and one (1) potential disadvantage of using DirectAccess.
What amount will insurance company pay for car accident : Eric's Ford Mustang and Susan's Toyota Prius are insured with the same insurance agent. They have 50/100/15 vehicle insurance coverage.
Do men and women develop personality in a different manner : Is there a difference in the expression of personality in varying social and occupational roles between men and women?
Technical writing and communication different : In what ways is technical writing and communication different from other types of writing and communication?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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