Indicate the end of the list of names

Assignment Help Basic Computer Science
Reference no: EM131083310

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

Questions Cloud

Shipping charges for online orders : Shipping charges for online orders from orinoco.com are based on the value of the order and the shipping weight. Shipping is free for orders with a value of $100 and up. Orders less than $100 incur shipping charges as follows:
The autocorrelation function of the output : (a) What is the expected value of the output µV? (b) What is the autocorrelation function of the output RV [n]?
Identification of possible interventions or action plan : Identification of possible interventions or action plan, Determining success of previous interventions from the literature and Design of own group-level intervention or action plan- Realistic and value for money
Calculate the solubility product constant for ticl : Calculate the solubility product constant for TICL.
Indicate the end of the list of names : 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.
A linear function of the original input process : The output Yn of the smoothing filter in Example 11.5 has µY = 1 and autocorrelation function
Wide sense stationary process with autocorrelation function : X(t) is a wide sense stationary process with autocorrelation function
Calculate the electrode potentials of the half-cells : Calculate the electrode potentials of the following half-cells.
Find the autocorrelation of the output : The random sequence Xn is the input to a discretetime filter. The output is

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How boolean operations used establish program flow control

Discuss how Boolean operations can be used to establish program flow control.

  Write a program that computes terms of the fibonacci series

Write a program that computes terms of the Fibonacci series, defined as: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ... Each term in the series is the sum of the preceeding two terms.

  Technology and job design

Advancements in technology have certainly made our lives easier over the last twenty years. They've also changed the nature of how many of us do our jobs. A great example is right here in this course...professors can teach from home!

  The variable accounttwo being set

What is being called by line 20 of Listing 2? How is the balance value of the object referenced by the variable accountTwo being set?

  Write a simple atm program in python

Write a simple atm program in Python. Ask the user to enter their account number, and then print the beginning balance.

  Threat to ships-which manufactures have instituted control

Provide two examples of threats to boats/ships for which manufactures and/or regulators have instituted controls. Describe the vulnerabilities for which the controls were created.

  Oracle business intelligence system is used

Oracle Business Intelligence system is used for, and what kinds of tasks you perform using the system?

  Could you log in to the banking system

Suppose that you intercept the following messages between a user and their bank, in which the login details are encrypted text.

  Theater seating revenue with input validation

Theater Seating Revenue with Input Validation: A dramatic theater has three seating sections, and it charges the following prices for tickets in each section:  Section A seats cost $20 each

  Create a variation of the plot look () code

Create a variation of the plot Look () code that produces the plot

  4 bit binary representation using excess 7

Assuming a 4 bit binary representation using excess 7 list all bit sequences for integers -7 to +8

  Determine the maximum possible value for the first player

Then two players take turns picking a coin from the sequence, but can only pick the first or the last coin of the (remaining) sequence. The goal is to collect coins of the largest total value. For this problem, n is even.

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