diff --git a/subjects/vowels-index/README.md b/subjects/vowels-index/README.md index 7b04c093..1672070c 100644 --- a/subjects/vowels-index/README.md +++ b/subjects/vowels-index/README.md @@ -1,9 +1,9 @@ -# vowels-index +## vowels-index ### Instructions -- Write a function that takes one argument of type string and returns an array of intergers containing the index of the vowels in the string. -- vowels : [a,i ,e ,u o] +Write a function that takes one argument of type string and returns an array of integers containing the index of the vowels in the string. +- vowels: a, e, i, o, u] ### Expected function @@ -13,6 +13,7 @@ func VowelsIndex(str string) []int { ``` ### Usage +Here is a possible program to test your function ```go package main @@ -30,7 +31,6 @@ func main() { ``` And its output : ```console - $ go run . | cat -e 1$ 4$