Question: I need to use a message box to execute the loops. using visual basics language on windows form application. You need to make a program
I need to use a message box to execute the loops. using visual basics language on windows form application.
You need to make a program which will use 2 loops. First Loop First loop will perform 35 iterations and increment by 3 each time. This limit should be HARDCODED into the loop(you cannot just use iterationcounter and type in those values). Use a variable to output the number of iterations. You can either make a separate iterations variable or use the counter divided by the increment(shows in Week5Example button 2 buttons) Output a msgbox to show the user the amount of iterations as follows: [Insert your name]s program performed & iterations You may use a For or While loop for this task Second Loop You are to intentionally create an infinite loop of ANY type(For or While). Remember, to make a for loop infinite you will have to interfer with its built in counter, a While loop can become infinite a bit easier by just allowing the test condition to stay True(like not incrementing a counter). What to hand in? For the first loop take a screengrab of the msgbox when the loop completes. Hand in sourcecode for both loops. Second loop doesn't require a screenshot of it running - source code only. You need to make a program which will use 2 loops. First Loop First loop will perform 35 iterations and increment by 3 each time. This limit should be HARDCODED into the loop(you cannot just use iterationcounter and type in those values). Use a variable to output the number of iterations. You can either make a separate iterations variable or use the counter divided by the increment(shows in Week5Example button 2 buttons) Output a msgbox to show the user the amount of iterations as follows: [Insert your name]s program performed & iterations You may use a For or While loop for this task Second Loop You are to intentionally create an infinite loop of ANY type(For or While). Remember, to make a for loop infinite you will have to interfer with its built in counter, a While loop can become infinite a bit easier by just allowing the test condition to stay True(like not incrementing a counter). What to hand in? For the first loop take a screengrab of the msgbox when the loop completes. Hand in sourcecode for both loops. Second loop doesn't require a screenshot of it running - source code only
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
