mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-07-14 01:43:00 +07:00
day 12
This commit is contained in:
21
Days/Go/day12_example1.go
Normal file
21
Days/Go/day12_example1.go
Normal file
@ -0,0 +1,21 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
|
||||
challenge := "#90DaysOfDevOps"
|
||||
const daystotal = 90
|
||||
|
||||
fmt.Printf("Welcome to %v\n", challenge)
|
||||
fmt.Printf("This is a %v challenge\n", daystotal)
|
||||
|
||||
var TwitterName string
|
||||
var DaysComplete int
|
||||
// ask user for their twitter handle
|
||||
|
||||
TwitterName = "@MichaelCade1"
|
||||
DaysComplete = 12
|
||||
fmt.Printf("%v has completed %v days of the challenge\n", TwitterName, DaysComplete)
|
||||
fmt.Println("Great work")
|
||||
}
|
Reference in New Issue
Block a user