Advertisement
Dprogrammed1

ruby ques 3

Jun 2nd, 2019
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.13 KB | None | 0 0
  1. a=true
  2.    b=false
  3.    if a && b
  4.    puts "False"
  5.    elsif a || b
  6.    puts "True"
  7.    else
  8.    puts "neither true nor false"
  9.    end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement