Ruby - Programming Language
This course covers the basics of programming in Ruby. Work your way through the videos/articles and I'll teach you everything you need to know to start your programming journey!

If Statements

Lesson 17
Author : GOUP
Last Updated : September, 2020


if is_student and is_smart puts "You are a student" elsif is_student and !is_smart puts "You are not a smart student" else puts "You are not a student and not smart" end

>, <, >=, <=, !=, ==

if 1 > 3 puts "number comparison was true" end

if "a" > "b" puts "string comparison was true" end