Ver código fonte

mod Mem method

Connor Dunnigan 6 anos atrás
pai
commit
25fdcf8b9b
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      SciCalculator.java

+ 2
- 2
SciCalculator.java Ver arquivo

@@ -33,8 +33,8 @@ public class SciCalculator{
33 33
         case 2:System.out.println("call number system function");//call number system function
34 34
                 break;
35 35
         case 3: Memory memNumber = new Memory();
36
-                memNumber.setMemNum(6);
37
-                System.out.print(memNumber.getMemNum());
36
+                memNumber.setMemNum();
37
+                System.out.println(memNumber.getMemNum());
38 38
                 break;
39 39
         case 4:System.out.println("call operations function");//call operations function
40 40
                 break;