Create an array in VL with up to 100 elements, call it Username[100]3. Use a For loop with K from 1 to 100a. Input nameb. If (name != LastName) ThenSET Username[k] = namec.Else, exit loop.//Notice that K has the last input in the array.4. Do the following:Prompt user for a name to check, or enter Stop to end, both in quotes.Input nameIF (name != Stop) THENFor (L = 1; L <= K; L++)IF (name == Username[L]) THENWrite Name + name + Is a match.SET Flag = TRUEELSESET Flag = FALSEEND IFEND FORIF (Flag == FALSE) THENWrite The name + name + Did not match.END IFEND IFWHILE name != Stop
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.