public/subjects/toupper
Pav01Founders 04600442a4
Update README.md
slight change to wording to make more grammatical sense.
2021-10-14 11:49:12 +01:00
..
README.md Update README.md 2021-10-14 11:49:12 +01:00

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?
$

Notions