I'm taking a written test right now, so Im having to write out all the codes on paper. Not sure why it's so much easier for me to type it than write it!!??:rolleyes::o I'm still learning..so please correct me if I'm wrong. Thanks in advance!!
So I was told to consider the following snippet and write out the answers to these questions..My answers are in RED
1. What is code an example of? How would you change this code to make the loop end after 10 iterations?Code:Dim intx as Integer = 0
Do
intx += 1
Loop until intx = 0
It's an example of Iterative Statement, a Do..Loop (until)
2.Write the code to populate and declare an array of five items.Code:Dim intx as Integer = 0
Do
intx += 1
Loop until intx = 10
3. Create a two-button message box named Decision Time. Your message box should tell the user "It is time to make a choice." Provide buttons for OK and/or Cancel.
I'm working on number 2 now.Code:MessageBox.Show ("It is time to make a choice", "Decision Time",
MessageBoxButtons.OKCancel)

