Browse Source

style(stringtointarray): formatting

DEV-3376-pointers-drop-the-thread-multiple-issues
Tiago Collot 2 years ago
parent
commit
ded101b86c
  1. 8
      subjects/stringtointarray/README.md

8
subjects/stringtointarray/README.md

@ -2,7 +2,7 @@
### Instructions
Write a function `StringToIntArray()` that takes a string and returns the corresponding integer array.
Write a function `StringToIntArray()` that takes a `string` and returns the corresponding `int` array.
### Expected function
@ -25,9 +25,9 @@ import (
)
func main() {
fmt.Println(piscine.StringToIntArray("A quick brown fox jumps over the lazy dog"))
fmt.Println(piscine.StringToIntArray("Converted this string into an int"))
fmt.Println(piscine.StringToIntArray("hello THERE"))
fmt.Println(piscine.StringToIntArray("A quick brown fox jumps over the lazy dog"))
fmt.Println(piscine.StringToIntArray("Converted this string into an int"))
fmt.Println(piscine.StringToIntArray("hello THERE"))
}
```

Loading…
Cancel
Save