Skip to content

Commit c290243

Browse files
committed
add Christy
1 parent ce03ee9 commit c290243

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

ch02/Variables.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
/**
22
* Examples from Chapter 2.
33
*/
4-
public class Variables {
5-
6-
public static void main(String[] args) {
4+
public class Variables
5+
{
76

7+
public static void main(String[] args)
8+
{
9+
//Christy
810
String message;
911
int x;
1012

@@ -59,7 +61,7 @@ public static void main(String[] args) {
5961

6062
System.out.println(0.1 * 10);
6163
System.out.println(0.1 + 0.1 + 0.1 + 0.1 + 0.1
62-
+ 0.1 + 0.1 + 0.1 + 0.1 + 0.1);
64+
+ 0.1 + 0.1 + 0.1 + 0.1 + 0.1);
6365

6466
double balance = 123.45; // potential rounding error
6567
int balance2 = 12345; // total number of cents

0 commit comments

Comments
 (0)