Question
Provide sample code for one of the following items. When possible, choose an item that has not yet been selected: Provide an example of an
Provide sample code for one of the following items. When possible, choose an item that has not yet been selected:
Provide an example of an infinite loop (a loop that never ends).
Provide an example of a For/Next loop that steps through a list of items in a Combobox, displays the text of each item in a messagebox and deletes the item from the Combobox.
Provide an example of a Do/While or Do/Until loop identical to the For/Next loop above.
Write a subroutine that will take a string argument and print the string centered on the page. (This one is a challenge.)
Declare a two-dimensional array to hold the first and last names of each person in the class, and initialize it to 3 students in the class.
Declare a structure that will hold a last name and a first name. Declare a one-dimensional array to hold the structure, and initialize it to 3 students in the class.
Write a loop that will search for a string value in an array.
Declare an array that holds a list of names, and write a For/Each loop to display each name in the array in a messagebox.
Note: You will not be marked down for errors in your code posted here. Errors in your code will, in fact, generate good discussion that will help the class learn the topic at hand.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started