mirror of https://github.com/01-edu/public.git
04600442a4
slight change to wording to make more grammatical sense. |
||
---|---|---|
.. | ||
README.md |
README.md
toupper
Instructions
Write a function that capitalizes each letter in a string
.
Expected function
func ToUpper(s string) string {
}
Usage
Here is a possible program to test your function :
package main
import (
"fmt"
"piscine"
)
func main() {
fmt.Println(piscine.ToUpper("Hello! How are you?"))
}
And its output :
$ go run .
HELLO! HOW ARE YOU?
$