From f92ade9ad532a50dbcfab4ff0e666252d40e5c54 Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Thu, 3 Jul 2025 04:22:03 -0700 Subject: [PATCH 1/3] Change 4.1 to -4.1 --- src/floating_point_numbers/subtraction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/floating_point_numbers/subtraction.md b/src/floating_point_numbers/subtraction.md index cc89f7b..6f4df8c 100644 --- a/src/floating_point_numbers/subtraction.md +++ b/src/floating_point_numbers/subtraction.md @@ -18,7 +18,7 @@ Because of the previously mentioned inaccuracy, the results of subtractions migh ```java ~void main() { ~double x = 5.1; -~// y will be 4.1 +~// y will be -4.1 ~double y = x - 9.2; // z will be -4.199999999999999 double z = y - 0.1; From 2d2c730e7bba605626858f61ffb9c16134e598df Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Thu, 3 Jul 2025 23:19:12 -0700 Subject: [PATCH 2/3] Fix grammatical error --- src/loops/challenges.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loops/challenges.md b/src/loops/challenges.md index 3ed33fc..b29eb3f 100644 --- a/src/loops/challenges.md +++ b/src/loops/challenges.md @@ -116,7 +116,7 @@ void main() { Write code that will output each character of `name` on its own line. -So for if `name` is equal to `"Bridget"`, I would expect the following as output. +So if `name` is equal to `"Bridget"`, I would expect the following as output. ```text B From e674cf4e58b0cb9f02c7193bbc51eba785fc279b Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Thu, 3 Jul 2025 23:44:27 -0700 Subject: [PATCH 3/3] 8 was missing from output --- src/loops/challenges.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/loops/challenges.md b/src/loops/challenges.md index b29eb3f..d8ff896 100644 --- a/src/loops/challenges.md +++ b/src/loops/challenges.md @@ -201,6 +201,7 @@ If the initial number is `15` you should have this as output. 10 5 16 +8 4 2 1