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

  Rsa and duffie-hellman

Explain why asymmetric algorithms, such as RSA and Duffie-Hellman, are relatively slow?

  Compare and contrast defensive technologies

Compare and contrast defensive technologies

  Determine the max profit in dollars

Determine the number of luxury cars that must be produced and sold to obtain the max profit Determine the max profit in dollars

  List all the kinds of risks that can occur on a project

List all the kinds of risks that can occur on a project. What strategy is adopted to minimize the impact of any risk on the project? Describe in detail the steps taken in preparing a risk management strategy.

  Problem regarding the history of changes in gdp

Analyze the history of changes in GDP, savings, investment, real interest rates, and unemployment and compare to forecast for the next five years.

  Traditional imaging process

What are the benefits of using WSUS over the traditional imaging process?

  Write a java program using array or array list

Write a java program using Array or Array list and Use Methods.

  Print this listing table only in landscape mode

Print this Listing table ONLY in landscape mode. In Page Setup, print the table to fit to 1 page wide by 2 pages tall. Your printout should contain only the Listing table including the Totals Row.

  Use any built in functions for finding the calculations

Use any built in functions for finding the calculations in this assignment.

  Decision support system-data mining and data warehousing

The purpose of this assignment is to help you learn more about the concepts of Data Mining and Data Warehousing.

  Where is the peak profitability for each model

Where is the peak profitability for each model? At what percentile does peak profitability occur? Which model is preferred, and why?

  Calculate the bandwidth at which each compression option

Calculate the bandwidth at which each compression option takes the same total compression + transmission time.

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