From c58dc37cad1e32bc5b4d98b1e7b92952033afce1 Mon Sep 17 00:00:00 2001 From: Erik Weibust Date: Mon, 16 Dec 2024 20:04:18 -0600 Subject: [PATCH] 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. --- src/floating_point_numbers/challenges.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/floating_point_numbers/challenges.md b/src/floating_point_numbers/challenges.md index ecf069f..11c313f 100644 --- a/src/floating_point_numbers/challenges.md +++ b/src/floating_point_numbers/challenges.md @@ -25,7 +25,7 @@ What will this program output when run? Write down your guess and then try runni void main() { double x = 5.1; double y = 2.1; - System.out.println(x + y); + System.out.println(x - y); } ```