Create an array in vl with up to hundrad elements

Assignment Help Data Structure & Algorithms
Reference no: EM131119500

Create an array in VL with up to 100 elements, call it Username[100]

1. Use a For loop with K from 1 to 100

a. Input name

b. If (name != "LastName") Then

SET Username[k] = name

c.Else, exit loop.

//Notice that K has the last input in the array.

2. Do the following:

Prompt user for a name to check, or enter Stop to end, both in quotes.

Input name

IF (name != "Stop") THEN

For (L = 1; L <= K; L++)

IF (name == Username[L]) THEN

Write " Name " + name + " Is a match."

SET Flag = "TRUE"

ELSE

SET Flag = "FALSE"

END IF

END FOR

IF (Flag == "FALSE") THEN

Write "The name " + name + "Did not match."

END IF

END IF

WHILE name != "Stop"

Reference no: EM131119500

Questions Cloud

Why is earnings per share not a consistently good measure : Why is earnings per share not a consistently good measure of a firm’s performance?
Readers understand the larger themes of a story : Symbols help readers understand the larger themes of a story. One of the major themes of Joyce's "Araby" is the urge to escape the monotony of daily life. Which symbol in the story contributes most to this theme, and why?
Explain the relationship between financial management : Explain the relationship between financial management and (a) Microeconomics and (b) Macroeconomics.
Persuasive research paper : Write a 1,750-word persuasive research paper that argues your personal position on a controversial topic that you think is worthy of public debate. The topic must be current, part of an ongoing debate, or a relatively new, unknown topic that you t..
Create an array in vl with up to hundrad elements : Create an array in VL with up to 100 elements, call it Username[100]. Do the following: Prompt user for a name to check, or enter Stop to end, both in quotes.
Describe how nhrc should account for the down payments : Indicate when NHRC should recognize the expense associated with the guarantee of the rowing and cross-country machines.
How the organization will implement control measures : Finally, discuss how you will mitigate this risk by identifying how the organization will implement control measures, how individuals within the organization can control measures, and finally who is ultimately responsible for mitigating or address..
Issue that relates to one of the following themes : Shange, N. (1997). For colored girls who have considered suicide/when the rainbow is enuf. New York, NY: Scribner. Reprinted by the permission of Russell & Volkening as agents for the author.
Explain the differences in the responsibilities of the treas : Explain the differences in the responsibilities of the treasurer and the controller in a large corporation.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Use wildcard characters for search

You can't search for the opening and closing brackets ([ ]) together because Microsoft Access interprets this combination as a zero-length string. You must enclose the opening and closing brackets in brackets ([[ ]]).

  Design the logic for a program

Draw the hierarchy chart and design the logic for a program that calculates the projected cost of an automobile trip. Assume that the user's car travels 20 miles per gallon of gas.

  Define the child term as used in trees

Suppose the following list of numbers is inserted in order into an empty binary search tree:45, 33, 90, 34, 68, 72, 15, 24, 30, 66, 11, 50, 10

  Drawing stack frames for stacks and heaps

can explain on a high level as to how this happens. I'm not expecting a lengthy answer, just something accurate for my understanding!

  2n-1 comparisons are necessary in the worst case

Prove that 2n-1 comparisons are necessary in the worst case to merge two sorted lists containing n elements each.

  Complete the following tasks for this project

Before you begin, open the Sweatshirt.doc document and review it. Notice that data has been added indicating what size t-shirt is needed for each individual attending the high school reunion.

  Convert the displayed flowchart into pseudocode

Convert the displayed flowchart into pseudocode by filling in the blanks

  Calculate mccabe''s cyclamate numbe

Show that McCabe's cyclamate number is an interval scale measure. and  Calculate McCabe's cyclamate number on the following source code. Draw a control ?ow graph. Label the regions with Roman numerals.

  Write a program that uses the bubble sort algorithm

You need to write a program that uses the bubble sort algorithm and load data into an array and then sort it into ascending order. It should output the first five and last five numbers from the file both before and after the sort.

  Write a report to the key decision-makers

Write a report to the key decision-makers within the business on whether Cloud Accounting will become commonplace in the future and is, therefore, appropriate for their business.

  How many different undirected graphs are there with v vertix

Graph enumeration: How many different undirected graphs are there with V vertices and E edges (and no parallel edges)? Assume the graph is represented in adjacency-list form

  Write a program that creates a two-dimensional array in heap

Write a program that creates a two-dimensional array in the heap and then analyzes it to determine the minimum, maximum, and average of each column.

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