|
@@ -21,7 +21,7 @@ public class Console {
|
21
|
21
|
|
22
|
22
|
// Ask if you want to use memory, KEEP TRACK OF MEMORY USE
|
23
|
23
|
// by boolean
|
24
|
|
- boolean memoryChanged = memory.memoryChanged;
|
|
24
|
+ Boolean memoryChanged = memory.memoryChanged;
|
25
|
25
|
|
26
|
26
|
// we use 1 input variable statement to call the user to input, then manipulate
|
27
|
27
|
// Can user input M if native type is double
|
|
@@ -44,7 +44,7 @@ public class Console {
|
44
|
44
|
|
45
|
45
|
String basicMode = Console.getStringInput("Enter the mode: ");
|
46
|
46
|
|
47
|
|
- if (memoryChanged != true) {
|
|
47
|
+ if (memory.memoryChanged != true) {
|
48
|
48
|
basicInput1 = Console.getDoubleInput("Enter the first input: ");
|
49
|
49
|
basicInput2 = Console.getDoubleInput("Enter the second input: ");
|
50
|
50
|
} else if (memoryChanged == true) {
|