Lab 4.2 - Refactoring
Refactoring is the process of going through code that already works and improving it. It's an iterative design process that applies specifically to programming code.
This one should be real easy. It's actually two things:
- Refactor Lab 4.0 to use the concatenation operator to create the equation in the label used to ask the
question. Additionally, use that constructed string in the InputBox that
asks the question. This means that you should no longer need the labels that you used to ask the question.
- Refactor Lab 4.1 to use a For loop to calculate the answer rather than a Do While loop.