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

  Why we need preprocessing of data

Why we need preprocessing of data? Explain major four data preprocessing techniques?

  Operate an apache-based linux web server

29. Asume you operate an Apache-based Linux Web server that hosts your company's e-commerce site. Assume further that there is a worm called "WorminatorX," which exploits a (fictional) buffer overflow bug in the Apache Web server package that can res..

  Information on an employee

Many employers gather and store information on an employee's use of email and the Internet. They will then use that information to measure the quality and quantity of an employee's work. Identify one ethical implication of this practice. (minimum..

  A positive integer and a subprogram

The factorial of a positive integer N, denoted by N!, is defined by the following: N! = 1 * 2 * ..... * N (Note: 0! = 1) Using module and/or functions, create a recursive program to compute N!. The user should input a positive integer and a subprogra..

  Explain why bcd might be a useful way to represent numbers

In a binary coded decimal (BCD) system, 4 bits are used to represent a decimal digit from 0 to 9. For example, 3710 is written as 00110111BCD.

  Critical thinking from human resources management

Pick a job in which "mystery shoppers" might provide helpful and unique data or, if you have firsthand contact with customers, write up an assessment as to why this concept would not work in your setting.

  What is the order of the public key?

the weaknesses that arise in Elgamal encryption if a public key of small order is used. We look at the following example. Assume Bob uses the group Z ? 29 with the primitive element ?= 2. His public key is ?= 28.

  Prepare an issues paper - current aspect of e-commerce

You are required to prepare an issues paper (a discussion of views of 2000 words in length) relating to some current aspect of e-Commerce.

  Design a lan for a very successful cpa firm

Your team has been asked to design a LAN for a very successful CPA firm with five departments in one building and a total of 560 employees. Currently, the firm has no networked computers, and it is open to any suggestions your team can offer. The ..

  What is the utilization of the data memory

Assuming there are no stalls or hazards, what is the utilization of the write-register port of the "Registers" unit?

  Explain the difference between auditory icons and earcons

Explain the difference between auditory icons and earcons. Give reasons why and when/where audio can be useful, and give examples.

  Show process that allow implementation of stack

You will now look at Stacks and Queues using linked lists. Complete the following for this question:

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