Skip to content

Commit c58dc37

Browse files
authored
Possible correction to Challenge 2 (#62)
Challenge 1 and 2 are exactly the same. I assume the goal of Challenge 2 was to test subtraction.
1 parent d0e19ae commit c58dc37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/floating_point_numbers/challenges.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ What will this program output when run? Write down your guess and then try runni
2525
void main() {
2626
double x = 5.1;
2727
double y = 2.1;
28-
System.out.println(x + y);
28+
System.out.println(x - y);
2929
}
3030
```
3131

0 commit comments

Comments
 (0)