This ruby program will prompt the user for a temperature in degrees Celsius and let the user know what the corresponding temperature is in Fahrenheit.
def celsius_to_fahrenheit(celsius)
return 1.8 * celsius + 32
end
puts "How many degrees in Celsius is it today?"
celsius = gets.to_i
puts "Did you know #{celsius} celsius is #{celsius_to_fahrenheit(celsius)} fahrenheit?"
puts "enter a number"
number = gets.to_i
def last_digit(number)
number % 10
end
def last_two_digits(number)
number % 100
end
def suffix(number)
if last_two_digits(number) >= 11 && last_two_digits(number) <= 13
return "th"
elsif last_digit(number) == 1
return "st"
elsif last_digit(number) == 2
return "nd"
elsif last_digit(number) == 3
return "rd"
else
return "th"
end
end
This ruby program will convert a plain number to the ordinal of the number. So for example, if the user enters 2, it will display 2nd, if the user enters 3, it will display 3rd, etc.
This ruby program is an adaptation of a classic technical interview problem which displays sequences of the Foobar pattern.
def foobar(n)
if n % 3 == 0 && n % 5 != 0
puts "foo"
elsif n % 5 ==0 && n % 3 != 0
puts "bar"
elsif n % 3 == 0 && n % 5 == 0
puts "foobar"
else
puts n
end
end
print "How many digits do you want to see in the pattern?"
digits = gets.to_i
pattern = (1..digits)
pattern.each do |n|
foobar(n)
end
A database-powered quote generator with a mobile-first design, using the Ruby on Rails framework, HTML, and CSS. Uses Git and GitHub for version control, and launched on Heroku.
REDESIGN IN PROCESS: A Yelp clone that integrates with the Google Maps API and includes features like user comments, star ratings,image uploading, and user authentication.
A two-sided, video-streaming platform that features credit card payment capabilities, user role management, complex user interfaces, and advanced database relationships.
An Instagram clone that was built using test-driven development following numerous red/green/refactor cycles.
This single-page to-do application features a fluid user interface that– by using JavaScript– allows users to rapidly add dynamic content.
Worked on an Agile software development team building a chess application. Under the guidance of a senior software engineer, we had weekly Agile team meetings for code reviews, sprint planning, and feature assignments.
Linda has developed expertise in the following programming languages and comfort with the following tools.
Currently entertaining new opportunities.
Please get in touch via email: lindaogbevoen(at)gmail(dot).com