|
@@ -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
|
{
|