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

  Create a class for triangle objects

Create a class for Triangle objects..Triangle class should inherit from a Shape class and implement its own getArea() and getPerimeter() methods. create a program to test Triangle class and include a method that takes a Shape object as a parameter..

  Draw a graph of the components for an elevator-position

Your system should be able to correct for the fact that in elevators for tall buildings there is significant cable stretch as a function of cab load.

  Does your answer depend on the life-cycle phase

Does your answer depend on the life-cycle phase? The level of the WBS? Project manager's "faith" in the line manager?

  Continuing education opportunities related to current

Beyond obtaining your degree, what certifications and/or other continuing education opportunities that are important for you to stay competitive in the job market? Conduct a search on certification and continuing education opportunities related to ..

  Context-free languages is closed under the regular opeations

Show that the class of context-free languages is closed under the regular opeations, union, concatenation, and star.

  Addressed to secure your devices

What would be different if this scenario was held at a high-end large technology company as opposed to your home? What would be different at a K-12 school?

  Include a main routine that asks the user for input values

Your code should include a main routine that asks the user for input values of m and n and displays the result of the function call. The main routine should loop until the value that the function returns is zero.

  Prioritize the list and justify your ranking

What are the critical considerations when dismissing an employee? Do these change according to whether the departure is friendly or hostile, or according to which position the employee is departing from?

  Indented code and use comments properly

Programming: Write the following programs using C language. Each program shoulddate of creation on the top (use comments). Write a clear and properly indented code and use comments properly. 1. Simple if statement program.

  Explain the different modes of data transfer

Explain the different modes of data transfer

  Major problem for the profession

A major problem for the profession and for individual facility managers is that they do not realize or fail to understand how they are perceived within the organization.

  Discuss the type of person you consider yourself

Discuss the type of person you consider yourself to be in a team (from team roles), moreover discuss about special situation that you have had come across in a team and how you had manage the given situation.

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