Create an array of people first names

Assignment Help Basic Computer Science
Reference no: EM131441528

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 Logic® for 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.

Reference no: EM131441528

Questions Cloud

Student need help for db : While new channeling is occurring in a constant manner, the legacy channels are definately still "out there"! It is important that we understand the legacy 20MHz channels, the 20MHZ HT channels, and the 40 MHz channels, plus how they use OFDM. Exp..
What happens to your system when you do this : While experimenting with your Ubuntu thumb drive, you delete the PATH variable. What happens to your system when you do this?
What is the schedule variance : What is the Schedule Variance (SV) for a project with a Schedule Performance Index (SPI) of 108% and a Planned Value (PV) of $3,000?
To ensure the effectiveness of earned value management : To ensure the effectiveness of Earned Value Management (EVM), what could you implement in an organization to increase the project's level of success? To ensure the effectiveness of Earned Value Management (EVM), what could you implement in an organiz..
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..
What is the boiling point of freshwater : To help you understand the oceanic world, you'll need to explore water's unique and usual physical properties and link to its chemical properties. There is a computer on the Captain's desk. You'll need to use it to figure out what's in your water...
Express total inventory as weeks of supply : Jack? Jones, the materials manager at Precision? Enterprises, is beginning to look for ways to reduce inventories. A recent accounting statement shows that the inventory investment for raw materials is $3,370,700?, for? work-in-process is $6,530,000?..
Identify your research paper topic : Identify your Research Paper topic and due date and receive GRST instructor approval. he body of your research paper must be at least eight pages with at least eight scholarly sources. A discussion board post is not a research paper, a group paper ..
Test program using three different cases : Write a MIPS program (which must be named as "hw4_prob1.s") that will read in a base (as an integer) and a value (nonnegative integer but as an ASCII string) in that base and print out the decimal value; you must implement a function

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Question regarding the cyberbullying

Your outline and presentation should  include the following components: Define your topic, linking it to technology and society

  Factoring polynomials when the leading coefficient

What process do you use to factor polynomials when the leading coefficient is not 1 (example: ax2 + bx + c)? How does this differ from factoring polynomials when the leading coefficient is 1 (example: x2 + bx + c)? Is it possible to solve every qu..

  Recode the hotelroom class programming

Recode the HotelRoom class programming Problem 4, Section 10.3 as follows. Replace the string room number by a character array that stores a 3-character room number.

  How to implement the weighted union rule efficiently

Describe how to implement the weighted union rule efficiently. In particular, describe what information must be stored with each node and how this information is updated when two trees are merged. Modify the implementation of Figure 6.4 to support..

  Assignment overview and requirements

You have completed the course, and should now have the requisite understanding of how to apply the tools and methodology of Stage-Gate®. So, let's do it! You will be responsible for walking 7 widgets from the  stage, through the post launch review..

  External and internal forces for organizational change

Identify at least three external and internal forces for organizational change. Briefly discuss the three perspectives or theories regarding the relationship between organizational culture and performance

  How to implement an array

Describe an algorithm that, given n integers in the range 0 to k, preprocesses its input and then answers any query about how many of the n integers fall into a range [a,b] in O(1) time. Your algorithm should use Θ(n+k) preprocessing time. Provide..

  Create a spreadsheet to calculate the total costs

Create a spreadsheet to calculate the total costs for each item, total cost, and percent of the total used for each item. Be sure to label columns and rows so it is clear what is in your spreadsheet.

  Working of a capacitor-start and capacitor-start

Explain the working of a capacitor-start and capacitor-start and-run single-phase induction motors with suitable diagrams.

  Explain what a buffer overflow is how it can be used

Explain what a buffer overflow is, how it can be used by an attacker, and how to prevent such as an attack.

  What will the permission of the new file be

Your current unmask is set to 002. If you create a new file, what will the permission of the new file be?

  Define the sequence number of a segment

In TCP, how do we define the sequence number of a segment (in each direction)? Consider two cases: the first segment and other segments.

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