Monday, May 17, 2010

Learning & Assessment Activity 4.2

1. Create a new Visual Studio project and call it LA_Activity_4.2

2. Write the Visual Basic.NET code to execute the following algorithm in the Load behavior of the form:

For counter 3-10
Prompt user for a number
Display the number to the user
Next

3. Publish a screen shot of your code and any comments that you have to your assessment document.









When I enter a number in the input box that appears when I run the program, the message box then displays the following:


















4. Answer the following question: How many times does this loop execute? Publish your answer to your assessment document.

#The loop executes 8 times

No comments:

Post a Comment