-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
hello.go
35 lines (31 loc) · 1010 Bytes
/
hello.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// Houston, we have a problem.
//
// During your first day at WizKidz Inc. you learn the software department is
// reeling from an automated refactor gone wrong performed by an AI it
// has been developing.
//
// You are tasked with fixing the faulty programs.
//
// Problem:
// This program normally printed out "hello world" but now it just does not compile!
//
// In Go functions take typed arguments.
//
// A commonly used type for printing out characters is the `string` type.
// A string in go is expressed by wrapping text in double quotes `"`. i.e: "hey there!"
//
// Try fixing the argument to the fmt.Println function and run `go run hello.go`
// to see if it works.
//
// If you are using the gopherlings helper program
// you may uncomment the "I AM STILL GOING" to continue
// solving the next exercises.
// I AM STILL GOING
package main
import "fmt"
func main() {
// Knowing about the string type, modify
// the argument to fmt.Println to be a single string.
fmt.Println(hello world)
}