Go Program to Convert Character to Uppercase

Go Program to Convert Character to Uppercase 1

In this Go Program, to convert the lowercase character to uppercase, we used IsLetter (if unicode.IsLetter(lwch)) to check for alphabets. Next, we used the unicode ToUpper function (up := unicode.ToUpper(lwch)) that converts the lowercase to an uppercase character. package main import ( “bufio” “fmt” “os” “unicode” ) func main() { reader := bufio.NewReader(os.Stdin) fmt.Print(“Enter Character … Read more