Skip to content

Instantly share code, notes, and snippets.

@AnonymousWS
Created June 12, 2015 12:46
Show Gist options
  • Save AnonymousWS/2bef5c13311676ae9e61 to your computer and use it in GitHub Desktop.
Save AnonymousWS/2bef5c13311676ae9e61 to your computer and use it in GitHub Desktop.
puts "Dette programmet hjelper deg og si ting til den du føler noe for! "
print "Skriv en bokstav mellom a og z
"
a = "Du er veldig fin! <3 "
b = "Du er vakker <3"
c = "Du er verdifull <3"
d = "Eg er glad i deg! <3"
e = "Du e så søt! <3"
f = "Du er morsom :D <3"
g = "Du er awesome!"
i = "Eg er glad at du er vennen min! <3"
j = "Eg digger deg!!"
k = "Du har fine øyne!"
l = "Du er egentlig ganske søt <3"
m = "Du er fantastisk <3"
n = "Du har fin kropp <3"
o = "Du e fin <3"
p = "Du er kul <3"
q = "Du har fin latter! <3"
r = "Du har fin rumpe <3"
s = "Du er perfekt <3"
t = "Du er hyggelig <3"
u = "Du e snill! "
w = "Du er til og stole på <3"
x = "Du er blid!"
y = "Du er en god venn <3"
z = "Du er hyggelig og snakke med <3"
#Du tror sikkert ikke en dritt på dette men det er sant
while true
user_input = gets.chomp.to_s
if user_input == "a"
puts "#{a}"
elsif user_input == "b"
puts "#{b}"
elsif user_input == "c"
puts "#{c}"
elsif user_input == "d"
puts "#{d}"
elsif user_input == "e"
puts "#{e}"
elsif user_input == "f"
puts "#{f}"
elsif user_input == "g"
puts "#{g}"
elsif user_input == "i"
puts "#{i}"
elsif user_input == "j"
puts "#{j}"
elsif user_input == "k"
puts "#{k}"
elsif user_input == "l"
puts "#{l}"
elsif user_input == "m"
puts "#{m}"
elsif user_input == "n"
puts "#{n}"
elsif user_input == "o"
puts "#{o}"
elsif user_input == "p"
puts "#{p}"
elsif user_input == "q"
puts "#{q}"
elsif user_input == "r"
puts "#{r}"
elsif user_input == "s"
puts "#{s}"
elsif user_input == "t"
puts "#{t}"
elsif user_input == "u"
puts "#{u}"
elsif user_input == "w"
puts "#{w}"
elsif user_input == "x"
puts "#{x}"
elsif user_input == "y"
puts "#{y}"
elsif user_input == "z"
puts "#{z}"
elsif
puts "Du er digg <3"
break
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment