puts 'Operations on Numbers with Ruby'
puts '==============================='
puts

print 'Please input a number (integer): '
input = gets.to_i
puts "Your nuber is: #{input}"
puts

puts "The result of #{input} + 12 is #{input + 12}"
puts

puts "The result of #{input} - 12 is #{input - 12}"
puts

puts "The result of #{input} * 12 is #{input * 12}"
puts

puts "The result of #{input} / 12 is #{input / 12}"
puts

puts "The result of #{input} % 12 is #{input % 12}"
puts

puts "The result of #{input} ** 12 is #{input ** 12}"
puts
puts

puts "The result of #{input} + 12.0 is #{input + 12.0}"
puts

puts "The result of #{input} - 12.0 is #{input - 12.0}"
puts

puts "The result of #{input} * 12.0 is #{input * 12.0}"
puts

puts "The result of #{input} / 12.0 is #{input / 12.0}"
puts

puts "The result of #{input} % 12.0 is #{input % 12.0}"
puts

puts "The result of #{input} ** 12.0 is #{input ** 12.0}"
