Create an array of peoples first names

Assignment Help Computer Engineering
Reference no: EM131184627

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.

Resources/Tips:
- 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.
- Review the Sample Program #3 on pages 83-87 in A Guide to Working with Visual Logicsfor an example of using files.
- Have the txt files, your Visual Logic® program, the Visual Logic® exe file, and the VLSig file in the same folder
- 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® (As) file

Reference no: EM131184627

Questions Cloud

Study the characteristics of the two groups : Study the characteristics of the two groups and find that the treatment group has a lower average age than the control group. How could this arise?
What will be the transient current injected into the product : A large metal object has 10 pF of capacitance to an adjacent product in a plastic enclosure. A discharge occurs to the metal object, and its voltage rises to 4000 V in 1 ns. What will be the transient current injected into the product?
Identify and define the combining forms : Identify and define the combining forms and suffixesintroduced. Correctly spell medical terms and major anatomical structures relating to the clinical cases
What is mean by saying correlation does not imply causality : What do we mean when we say that correlation does not imply causality?- What are some of the ways in which an empirical analyst attempts to disentangle the two?
Create an array of peoples 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
Is there a way to validate the position of the security : Although companies or individuals are given detail information that is required by the SEC, is there a way to validate the position of the security?
What was the soccer ball beginning upward velocity : If a soccer ball is kicked up into the air and it spends 4.78 seconds to reach the top of the flight, what was the soccer ball's beginning upward velocity?
What is wrong with given analysis : This researcher then concluded that divorce is bad for children's test outcomes.- What is wrong with this analysis?
Describe what is included in property plant and equipment : Describe what is included in Property, Plant, and Equipment. Are there any special rules related to valuation of this group of assets? Evaluate if there any gains or losses included in the income statement balance.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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