diff --git a/subjects/vowels-index/README.md b/subjects/vowels-index/README.md new file mode 100644 index 00000000..83a71a32 --- /dev/null +++ b/subjects/vowels-index/README.md @@ -0,0 +1,24 @@ +# VowlsIndex + +### 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] + +### Expected function + +```go +func VowelIdx(str string) []int { +} +``` +### Usage + +```console +$ go run . "hello Iyan" +$2 +$5 +$7 +$8 +$9 +``` + \ No newline at end of file