Skip to content

Instantly share code, notes, and snippets.

View Kingwindie's full-sized avatar
💭
Practicing

Kingsley Kingwindie

💭
Practicing
View GitHub Profile
puts "YUrI TOMoko".downcase
puts "spaceship".reverse
puts "racecar".reverse
puts "1776".reverse
puts 12 * "4".to_i
puts 3.to_s + "times a day"
@Kingwindie
Kingwindie / ep6ex.rb
Created July 18, 2016 18:08
acltc exercise 6
a=1
b=2
c=a+b
d=c+a+b
puts d
hello="goodnight"
world=" moon"
puts hello+world
hello="cat"
world="fish"
@Kingwindie
Kingwindie / madlibs.rb
Last active July 18, 2016 23:08
madlibs,tell me your story
puts "welcome to Madlibs!"
puts "please enter a noun:"
noun=gets.chomp
puts "please enter a verb:"
verb=gets.chomp
puts "please enter an adjective:"
adjective=gets.chomp
puts "here's your story:"
puts "one day,there was a " + noun + " that did not " + verb + " at all " + adjective + " now he sits on his
head.The end "