Use of nested loops

Assignment Help Business Management
Reference no: EM131290109

Create a Visual Logic® program that will:

  • 1. 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. 
  • 2. Prompt the user for a first name.
  • 3. 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.
  • 4. 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.

Resources/Tips:

  • 1. This program requires the use of nested loops. The outer loop will repeat, prompting the user for a first name until the user indicates to stop. The inner loop will search through the array for a match.
  • 2. Review the Sample Program #3 on pages 83-87 inA Guide to Working with Visual Logic®for an example of using files.
  • 3. Have the txt files, your Visual Logic®program, the Visual Logic®exe file, and the VLSig file in the same folder.
  • 4. Put quotes around each name in the text (txt) file.

Submit the following in a zip file, using the Assignment Files tab:

  • Text (txt) file with names
  • Visual Logic®(vls) file
  • metaflowchart

Reference no: EM131290109

Questions Cloud

How has ccc changed over the last five years for each firm : How has the CCC changed over the last five years for each firm? What are the reasons for the changes? Compare the CCC of the three firms in each of the five years and identify sources for the difference in each year. Which company has the lowest r..
Explain porters five generic strategies in detail : Explain Porter's Five Generic Strategies in detail.Give one example of each of the Generic Strategy.
What types of shopping centers are there : List the major trends in retailing.-  What types of shopping centers are there in your country or region? How are they best described?
Liquidation-the shareholders transfer property : The stock in Rose Corporation is held equally by two sisters. One year before its liquidation, the shareholders transfer property (basis of $500,000, fair market value of $300,000) to Rose Corporation in return for stock. In a current year liquidatio..
Use of nested loops : This program requires the use of nested loops. The outer loop will repeat, prompting the user for a first name until the user indicates to stop. The inner loop will search through the array for a match.
Evaluate the firm’s credit and collection activities : United Worldwide's accounts receivable totaled $1.75 million on August 31, 2009. A breakdown of these outstanding accounts on the basis of the month in which the credit sale was initially made follows. The firm extends net 30, EOM credit terms to ..
Describe the three major groups of wholesalers operating : Are wholesalers common in your country or region? Do they add value to the channels of distribution?- Identify and describe the three major groups of wholesalers operating in your country or region.
Eps with convertible bonds : (EPS with Convertible Bonds) On June 1, 2015, Andre Company and Agassi Company merged to form Lancaster Inc. A total of 800,000 shares were issued to complete the merger. The new corporation reports on a calendar-year, On April 1, 2017, the company i..
What are two personal habits that have served you well : What are two personal habits that have served you well? How good are you at accepting help from others? How good are you at asking for help? What is one of the internal battles to have each day?

Reviews

Write a Review

Business Management Questions & Answers

  Analyze the hospice industry for opportunities and threats

You are to develop a two- to three-page SWOT (strengths, weaknesses, opportunities, and threats) analysis for the quality assurance program of your hospice facility. You will present your analysis to senior management. There are several SWOT analy..

  Mission and visison statment

Does a mission statement or vision statement function to limit the growth opportunities of a solopreneur or to limit their flexibility

  Define intellectual property rights

Define intellectual property rights

  Logical database design and physical database design

Differentiate between logical database design and physical database design. Show how this separation leads to data independence.

  Coordination among team members

Your team is having difficulty assigning work to each team member to meet overall team goals. Which of the following actions would be most likely to enhance coordination among your team's members?

  Health organization disaster planning

Develop a Health Organization Disaster Planning and Response Strategy that links federal, state, and local agency authorities and reflects the potential ethical decision-making that a health care leader may be confronted with.

  Effective leadership key informaitonchoose an individual

effective leadership key informaitonchoose an individual who you consider to be an effective leader to study. this

  Illustrate what are mcbride target markets

Illustrate what are McBride’s target markets? Illustrate what are the considerations for McBride to conduct a portion of their marketing on the Internet?

  You must as well have an audience in mind

You must as well have an audience in mind as you write this paper-who would be interested in this topic or who would this most benefit?

  Amazon for fast delivery of customer products

Google responded by moving into the online retail industry, dominated by Amazon, that was expected to grow 12% to $197 billion in 2011. new strategy would also put it in competition with eBay and Shoprunner Inc., both of which had fast-shipping pr..

  Ethical concerns that drones bring to warfare

What are some of the ethical concerns that drones bring to warfare? Are they internationally legal? (at least 200 word minimum)

  What is retention management

Retention management - What is retention management and why is it important for an organization to analyze its turnover?

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