Mega Code Archive
Categories
/
Ruby
/
Statement
If the value of age is under 18, the string is printed to the screen
age = 10 puts "You're too young to use this system" if age < 18 age = 10 if age < 18 puts "You're too young to use this system" end