Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- puts"ACH HALLO, JUNGE"
- antwort = #Da hier alles einsetzbar ist
- while antwort != "BYE"
- antwort = gets.chomp
- while antwort != antwort.upcase
- puts "WAS?KOENNTEST DU BITTE LAUTER REDEN?"
- antwort = gets.chomp
- end
- jahr = rand(21) + 1930
- if antwort != "BYE" #0hne das if sagt die nach BYE noch was, dass wollen wir ja nicht
- puts "NEIN, NICHT SEIT #{jahr.to_s }."
- end
- end
Add Comment
Please, Sign In to add comment