Skip to content

Commit 47b6725

Browse files
armeetjphrdang
andauthored
Update src/com/codefortomorrow/beginner/chapter2/solutions/ApplesOranges.java
Co-authored-by: Rebecca Dang <[email protected]>
1 parent cca23c2 commit 47b6725

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/codefortomorrow/beginner/chapter2/solutions/ApplesOranges.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ public static void main(String[] args) {
1717
// define an integer variable called numApples with value 24 (line 18)
1818
int numApples = 24;
1919

20-
// print out number of oranges, output: "I have 10 oranges." (line 21)
20+
// print out number of oranges using variables, output: "I have 10 oranges." (line 21)
2121
System.out.println("I have " + numOranges + " oranges.");
2222

2323
// print out number of apples, output: "I have 24 apples." (line 24)
2424
System.out.println("I have " + numApples + " apples.");
2525

2626
}
2727
}
28-
28+

0 commit comments

Comments
 (0)