Selaa lähdekoodia

Deleted Duplicate and renamed file

Trinh Tong 6 vuotta sitten
vanhempi
commit
c5c1b19600
2 muutettua tiedostoa jossa 1 lisäystä ja 59 poistoa
  1. 0
    58
      Adv.java
  2. 1
    1
      SciCalc.java

+ 0
- 58
Adv.java Näytä tiedosto

@@ -1,58 +0,0 @@
1
-
2
-/**
3
-* Scientific Calculator Lab
4
-* Advanced Calculator Scientific Menu Options
5
-*/
6
-public class Adv
7
-{
8
-    // instance variables - replace the example below with your own
9
-    private int memory = 0;
10
- 
11
-    
12
-    /**
13
-    * switch display mode
14
-    * - Binary
15
-    * - Octal
16
-    * - Decimal
17
-    * - Hexadecimal
18
-    */
19
-    public int sampleMethod(int y)
20
-    {
21
-        // Base Mode
22
-        Console.println("Base Mode");
23
-        // Ask for input
24
-        Integer i = Console.getIntegerInput("Enter an integer");
25
-        // Display base options
26
-        // Ask for base option input
27
-        
28
-        return 2;
29
-    }
30
-    
31
-    /**
32
-     * 
33
-    * Memory Mode
34
-    * M+ = add currently displaced value to the value in memory default 0
35
-    * MC = clear memory
36
-    * MCR = display memory
37
-    * 
38
-    */
39
-    public void memory()
40
-    {
41
-        // Memory Mode
42
-        // Ask for input
43
-        // Display memory menu
44
-        // memory option input, if statement
45
-    }
46
-    
47
-    /**
48
-    * switch display mode
49
-    * - Binary
50
-    * - Octal
51
-    * - Decimal
52
-    * - Hexadecimal
53
-    */
54
-    public void toTrig(int y)
55
-    {
56
-        //calls to the trig menu
57
-    }
58
-}

AdvCalc.java → SciCalc.java Näytä tiedosto

@@ -4,7 +4,7 @@
4 4
 * Trinh Tong, Lauren Green, Michelle Dimarino
5 5
 * Advanced Calculator Menu
6 6
 */
7
-public class AdvCalc 
7
+public class SciCalc 
8 8
 {
9 9
 
10 10
     private double memory = 0;