logo image

Go language program to print a multiline Hello World!

Views: 15

Following program shows you how to print a multiline Hello World!. In this program we use \n for multi lines

package main

import "fmt"

func main() {
  fmt.Println("Hello \nWorld!")
}

Output:

Hello 
World!
We are looking for Interns!
Send your resumes to
[email protected]