mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-01-07 14:00:34 +07:00
25 lines
560 B
Go
25 lines
560 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
|
|
const DaysTotal int = 90
|
|
challenge := "#90DaysOfDevOps"
|
|
|
|
fmt.Printf("Welcome to the %v challenge.\nThis challenge consists of %v days\n", challenge, DaysTotal)
|
|
|
|
var TwitterName string
|
|
var DaysCompleted uint
|
|
|
|
// asking for user input
|
|
fmt.Println("Enter Your Twitter Handle: ")
|
|
fmt.Scanln(&TwitterName)
|
|
|
|
fmt.Println("How many days have you completed?: ")
|
|
fmt.Scanln(&DaysCompleted)
|
|
|
|
fmt.Printf("Thank you %v for taking part and completing %v days.\n", TwitterName, DaysCompleted)
|
|
fmt.Println("Good luck")
|
|
}
|