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

  Babylonian algorithm

Babylonian Algorithm. The Babylonian algorithm to compute the square root of a positive number n is as given:

  Devise a linear-time algorithm to count the parallel edges

Devise a linear-time algorithm to count the parallel edges in a graph. Write the algorithm in pseudocode.

  Identifying flaws in the design

Identify flaws in design of the Report of Consumers that follows. What assumptions about users and tasks did you make in order to assess this design?

  Data structures class

data structures class this project will give you an introduction. There are two important data structures that you will learn and use. The first is a stack, it is a LIFO (Last In First Out) structure. You can think of it like a a stack of plates in y..

  Write a pseudocode for divide-and-conquer algorithm

Write a pseudocode for divide-and-conquer algorithm for finding the values of both the largest and smallest elements in an array of n numbers

  Explain good algorithms to solve character pathfinding

You are working on the new computer game. One of implementation problems you are trying to solve is character pathfinding. What algorithms would be good to use and explain why?

  Describe how to develop a subroutine

Describe how to develop a subroutine.

  Write the preorder traversal representation of the tree

Explain your key steps in determining the shortest path, and give the node sequence that corresponds to that shortest path - Write the preorder traversal representation of the tree.

  Discussion on clustering and data mining

Clustering is generally used along with classification in some applications. In such a case, typically clustering is applied to a dataset to recognize natural grouping of the objects in the dataset,

  Creating financial tracking program

Acme Inc. is making next generation financial tracking program, and Alice has been provided the task of writing encryption component.

  Plot data along with best-fit model

Model maternal and fetal compartments separately as a first order drug absorption and elimination problem

  Convert the displayed flowchart into pseudocode

Convert the displayed flowchart into pseudocode by filling in the blanks

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