Conditional Statements
Use conditions to run different code paths based on logical tests.
RUBY
puts "pass" if score >= 60Try it Yourself
Run this RUBY example in your local environment or course sandbox.
Ruby Tutorial
Source: Bro Code
Use conditions to run different code paths based on logical tests.
puts "pass" if score >= 60