Some Eid Ruby :)

A cute little program that asks the guy who usually announces Eid whether tomorrow is Eid or not:
def eidTest
puts “Hlayyel is tomorrow Eid?”
isEid = gets.chomp

if isEid == “no”
puts “aw man :(“
elsif isEid == “yes”
puts “Happy Eid”
else
puts “it’s either yes or no!”
end
end

eidTest

Happy Eid everyone 🙂

Advertisements

One thought on “Some Eid Ruby :)

Comments are closed.