slom
Martin   Poland
 
 
package main

import (
"bufio"
"fmt"
"os"
)

func main() {
fmt.Println("Welcome to my profile!")

var Answer rune

for Answer != 'Y' {
fmt.Println("Are you going to leave a +rep? Y/N")

var readErr error
reader := bufio.NewReader(os.Stdin)
Answer, _, readErr = reader.ReadRune()

if readErr != nil {
panic(readErr)
}

switch Answer {
case 'Y':
fmt.Println("Thank you!")
break
default:
fmt.Println("I do not understand that input :\\")
fmt.Println("Please try again")
}
}
}
Currently Offline
Elliott 16 Jan, 2021 @ 9:31am 
Got a bone to pick with this phoney player. all gamers avoid -Rep
Jacko 14 Oct, 2019 @ 8:20am 
when Jacko does uh oh, shark says "unlucko bucko"
Elliott 4 Oct, 2017 @ 10:56am 
-rep fookiung ♥♥♥♥ mate
| SEMA | 26 May, 2017 @ 1:43pm 
noob cheater
slom 1 Mar, 2017 @ 1:41pm 
mystic get some friends
mystic 1 Mar, 2017 @ 1:07pm 
wanna join my black ops 3 clan