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

  Customizing business and expatriate and host

customizing business and expatriate and host leadershipthoughts about all operational and sales related activities

  What is the purpose of a performance management system

Appraising employee performance on a regular basis has an important influence on an employee’s performance. Coaching is an ongoing task that gives employees instruction and suggestions. Promotion of employees is generally based on recognition of past..

  Analyze the application of the given management concepts

Analyze the application of these management concepts to this place of work; the paper will not simply be a report on the five functions in general.

  What role has religion played in culture and religion

What role has religion played in culture - and what role has culture played in developing religion and marketing and advertising practices must take these into account.

  Factors in stimulating high-impact innovation

Briefly summarize Jewke's findings regarding the importance of following factors in stimulating high-impact innovation: Individuals working alone vs. working in teams (minimum 200 words).

  Difference between the population means

A random sample of 8 observations from another population revealed a sample mean of 26 and a sample standard deviation of 5. At the .05 significance level, is there a difference between the population means?

  Discuss the concept of emotional intelligence

Question 1: Do you see a value in the use of the Myers-Briggs Type Indicator (MBTI) as a means of increasing employee self-awareness? Justify your position with support from the text and/or additional academic sources. Question 2: Discuss the conc..

  Organizations that enhance decision making

organizations that enhance decision making abilitiesidentify a company by name and describe in my own words

  Distributed random variables with the same mean

If all of the service times are independent exponentially distributed random variables with the same mean 1= , what is the probability that Naomi is still in the post office after the other two have left?

  Research suggests that supermarkets must consider which of

research suggests that supermarkets must consider which of the following when deciding whether to remove slow-selling

  The various models for change strategies

Find  the various models for change strategies.

  Explain college grade point average

In a multiple regression model using 400 students to explain college grade point average, the following explanatory variables and a constant term equal to 1 are initially included in the regression: high school GPA, ACT score, number of credits co..

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