소스 검색

Added methods and separated classes

Trinh Tong 6 년 전
부모
커밋
0e4e9b3f4e
1개의 변경된 파일16개의 추가작업 그리고 2개의 파일을 삭제
  1. 16
    2
      SwitchDisplay.java

+ 16
- 2
SwitchDisplay.java 파일 보기

@@ -2,8 +2,22 @@
2 2
 /**
3 3
  * Write a description of class SwitchDisplay here.
4 4
  *
5
- * @author (your name)
6
- * @version (a version number or a date)
5
+ * Scientific Calculator Lab
6
+ * 
7
+ * Brings up the switch display menu
8
+ * Binary
9
+ * Octal
10
+ * Decimal
11
+ * Hexadecimal
12
+ * 
13
+ * Changes the mode for EVERYTHING
14
+ * 
15
+ * Find a way to store the input and the input as a diff base
16
+ * then whenever the base is changed, display the base.
17
+ * pass the input into the methods to return the string.
18
+ * EVERY TIME AN INPUT IS PLACED, IT WILL BE DISPLAYED AS AN OCTAL
19
+ * boolean baseChange == true; 
20
+ *      display the changed display
7 21
  */
8 22
 public class SwitchDisplay
9 23
 {