Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix switch solution link #7

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
| Packages | [Exercise](exercises/packages/exercise.md) | [Solution](exercises/packages/main.go) |
| Logical Operators | [Exercise](exercises/logical_operators/exercise.md) | [Solution](exercises/logical_operators/solution.md) |
| Conditionals | [Exercise](exercises/conditionals/exercise.md) | [Solution](exercises/conditionals/solution.md) |
| Switch | [Exercise](exercises/switch/exercise.md) | [Solution](exercises/switch/solution.md) |
| Switch | [Exercise](exercises/switch/exercise.md) | [Solution](exercises/switch/main.go) |


### Strings Exercises
Expand All @@ -91,14 +91,14 @@

|Name|Exercise|Solution|Comments|
|--------|--------|------|----|
| Maps 101 | [Exercise](exercises/maps_101/exercise.md) | [Solution](exercises/maps_101/solution.md) | |
| Maps 101 | [Exercise](exercises/maps_101/exercise.md) | [Solution](exercises/maps_101/main.go) | |

### Loops Exercises

|Name|Exercise|Solution|Comments|
|--------|--------|------|----|
| Loops 101 | [Exercise](exercises/loops_101/exercise.md) | [Solution](exercises/loops_101/main.go) | |
| Loops 102 | [Exercise](exercises/loops_102/exercise.md) | [Solution](exercises/loops_102/main.go) | |
| Loops 101 | [Exercise](exercises/loops_101/exercise.md) | [Solution](exercises/loops_101/solution.md) | |
| Loops 102 | [Exercise](exercises/loops_102/exercise.md) | [Solution](exercises/loops_102/solution.md) | |
| Continue | [Exercise](exercises/continue/exercise.md) | [Solution](exercises/continue/main.go) | |

### Functions Exercises
Expand Down
4 changes: 2 additions & 2 deletions exercises/loops_101/solution.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

1. Write a loop to ask the name and age from a user and print "Your name is ___ and your age is ___ years old"
1. This should be infinite loop
2. Define the following array `"pizza"}`
2. Define the following array `"pizza"`
1. Append to it the following item: "hamburger"
2. Append to it the following item: "salad"
3. Iterate over the list and print for each item `Food: <Food name>`. Make sure to replace `<Food name>` with item from the array
Expand Down Expand Up @@ -72,4 +72,4 @@ func main() {
fmt.Printf("This is %v and its index in the array is %v\n", shape,index)
}
}
```
```