This is your loop assignment
- Set up an algebraic formula that uses 2 variables and uses multiply, divide, plus.
- Take in the starting point for each of the variables.
- Take in the end point for each of the variables.
- One of the variables should increment by 2.
- Have a button that when clicked will show the results of the formula using the for loop, the variables should each start at their start point
and end at their end point. The results should go into a list box.
- Now have another button that solves the problem using a loop where you test at the beginning.
- Now have another button that solves the problem using a loop where you test at the end.
- I also want you to write the condition once using a test that tests when to get out and once using a test
that tests when to stay in the loop. These can be combined with the tests above or done separately.
Let me clarify the last one. One of the ways to write the condition, expresses the condition that will get you out of the loop and one
expresses the condition that will keep you in the loop. Hint: look at while and until