Skip to content

Commit f9b783b

Browse files
authored
Update README.md
1 parent c876a81 commit f9b783b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

courses/intro/04-conditionals/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ switch (x) {
297297
}
298298
```
299299

300-
In this example, the output would be "x is 2" and "x is 3", as the break statement is omitted in the `case 2` block and the code in the `case 3` block is executed as a result.
300+
In this example, the output would be "x is 2", "x is 3" and "x is not 1, 2, or 3", as the break statement is omitted in the `case 2` block and the code in the `case 3` block is executed as a result.
301301

302302
It is generally considered good practice to include a `break` statement at the end of each case in a `switch` statement to avoid unintended fallthrough. However, there may be cases where a fallthrough is desired behavior. In such cases, it is important to document the intended fallthrough in the code to make it clear to other programmers.
303303

@@ -357,4 +357,4 @@ switch(c){
357357
It is expected for you to be able to solve all questions before this one `1041` on beecrowd. Sort Beecrowd questions from the most solved to the least solved questions [here](https://www.beecrowd.com.br/judge/en/search?q=&sort=Problems.solved&direction=desc) in the link. If you don't, see [Troubleshooting](#troubleshooting). Don`t let your study pile up, this homework is just a small test, it is expected from you to do other questions on Beecrowd or any other tool such as leetcode.
358358

359359
# Troubleshooting
360-
If you have problems here, start a [discussion](https://github.com/InfiniBrains/Awesome-GameDev-Resources/discussions). Nhis is publicly visible and not FERPA compliant. Use discussions in Canvas if you are enrolled in a class with me. Or visit the tutoring service.
360+
If you have problems here, start a [discussion](https://github.com/InfiniBrains/Awesome-GameDev-Resources/discussions). Nhis is publicly visible and not FERPA compliant. Use discussions in Canvas if you are enrolled in a class with me. Or visit the tutoring service.

0 commit comments

Comments
 (0)