The strCode variable contains an uppercase letter. Write two different Do...Loop clauses that process the loop instructions as long as the value in the strCode variable is either A or B. Use the Until keyword in the first clause, and use the While keyword in the second clause.

What will be an ideal response?


Do Until strCode <> "A" AndAlso strCode <> "B"

Do While strCode = "A" OrElse strCode = "B"

Computer Science & Information Technology

You might also like to view...

Case-Based Critical Thinking QuestionsCase 1Penny is just starting out in her database coursework and she is looking for a quick primer on some of the key terms that she will use again and again. Her roommate Meredith has offered to give her the guidance she seeks. Penny knows that items such as first name, last name, city, state, and zip are referred to by a common name. Meredith informs Penny that she can use the term ____ to refer to these items.

A. fields B. records C. rows D. relations

Computer Science & Information Technology

Given the following environment

#include #include int main() { int filedes[2]; pipe(filedes); // Code Fragment Goes Here return 0; } Write a code fragment that duplicates and assigns the read file descriptor to the standard input and then closes the read file descriptor.

Computer Science & Information Technology

The business impact analysis (BIA) is the first major component of the CP process.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

An object hierarchy in Visual Basic defines how objects are related to one another

Indicate whether the statement is true or false

Computer Science & Information Technology