Created
March 19, 2019 14:57
-
-
Save Nishan8583/5b57678a2bbdd2c89cd245b25897b11a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main; | |
import ( | |
"fmt"; | |
"os"; | |
"bufio"; | |
) | |
func main() { | |
fmt.Print("Enter Password: "); | |
user_input,_,err := bufio.NewReader(os.Stdin).ReadLine(); | |
if err != nil { | |
fmt.Println("Something is wrong with your computer, ",err); | |
} | |
if string(user_input) == "The anser to life is i don't give a fuck" { | |
fmt.Println("You Cracked it, A Hero is born"); | |
} else { | |
fmt.Println("Don't Worry, Relax, Chill and Try harder"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment