16_legal_driving_age.rb
# Example output:
# What is your age?
# You are not old enough to legally drive
#
# OR
#
# What is your age?
# You are old enough to legally drive.
#
# Constraints:
# *Use a single output statement
# *Ise a ternary operatory to write this program.
Example output:
What is your age.
You are not old enough to legally drive

OR



Use a single output statement
Ise a ternary operatory to write this program.
Example output : What is your age . You are not old enough to legally drive OR Use a single output statement Ise a ternary operatory to write this program .
def checks_age(age)
  if age.to_i < 16
    true
  else
    false
  end
end
def checks_age ( age ) if age . to_i < 16 true else false end end
Example output:
What is your age?
Example output : What is your age?
age
<not_specific>