Create an array of people first names

Assignment Help Basic Computer Science
Reference no: EM131368402

The following assignment incorporates the concepts from prior weeks (variables, if-else logic, loops, and arrays), along with this week's topic of file input/output process.

Create a Visual Logic® program that will:

  • 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: EM131368402

Questions Cloud

Does the relationship fit your expectations : Assume that the DFN will be absorbed by long-term debt and that the total interest rate is 4.50% of LTD. Set up an iterative worksheet to eliminate it.
Organization security plan forms the foundation : An organization's security plan forms the foundation for how information is handled and kept secure. A successful security plan consists of the policies that reflect business needs as well as information for employees on their responsibilities.
Explain the relationship between ethical leader and follower : What do you believe are the most important characteristics of ethical leadership? Describe the relationship between the ethical leader and the follower.
Write a java program to accomplish : Write a Java program to accomplish the following tasks. After you are done, send the original Java code along with screenshots of the result.
Create an array of people 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. Continue to read in first names and store them into the array. Th..
Create a common-size income statement : To retrieve the data for your company, go to the Stocks area and enter the ticker symbol. Finally, choose Financials and then the statement type.
Explain whether you agree with frankls opinion : Explain whether you agree with Frankl's opinion that it is important for a person to have the freedom to choose one's attitude in a given set of circumstances and to choose one's own way.
Summarize an article on muslim tourist perceived value : You need sumarry of an article on Muslim Tourist Perceived Value in the Hospitality and Tourism Industry
How do you think the five stages of group development : How do you think the five stages of group development (forming, storming, norming, performing, adjourning) will be different for virtual teams as compared to traditional teams?

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Computing the ethical and cultural differences on website

For this Critical Thinking assignment, you are a technical communications project manager for BCG working on the CSIC project. Read the following scenario and review the requirements for writing a proposal:

  Describe the effects of a node on an expression

Live ness shows that a variable is potentially of future use in a program. The very busy expressions problem if an expression value is certainly of future use.

  Discuss some applications of active databases

Discuss how time is represented in temporal databases and compare the different time dimensions.

  Determine how to diagnose and reseat the ram

A user complains that her computer is responding very slowly. She also says that when booting the PC, it reports a lower value for memory than she assumed is available. You investigate and consider the idea that one of the RAM sticks in her PC may..

  How they affect tcp performance

Experiment with various parameter settings to see how they affect TCP performance.

  Compare activity of disk required for each of the relational

Compare the activity (quite theoretical) of the disk (in number of bytes) required for each of both relational. Indicate the advantages and the inconveniences of the new relational scheme.

  Examine about direct cash-payment method

Examine about Direct Cash-Payment method

  What can be done to reduce the occurrence of bucket overflow

What are the causes of bucket overflow in a hash file organization? What can be done to reduce the occurrence of bucket overflow?

  Partitioning leads to a linear-time algorithm

a. Show that with a recursive call to S3S5S6, we have enough information to sort the other four groups S0,S1, S2, and S4. b. Show that this partitioning leads to a linear-time algorithm.

  Complexity of bellman-ford single-source

What is the time complexity of Bellman-Ford single-source shortest path algorithm on a complete graph of n vertices?

  Track inventory including vendor

Assume you have a customer who would like to track inventory including vendor (where the product comes from) and customer (who the product is sold to). What needs to be done to create this database?

  Design and test using logic works a dual-output function

Design and test using Logic Works a dual-output function to implement a full-adder in Sum-of-Products form. Show the transistor count on your schematic. For bonus points optimize the circuit to minimize transistor count.

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