Write a Ruby program which accept the user's first and last name and print them in reverse order with a space between them.
def in2030(a, b) return ((a >= 20 && a <= 30) || (b >= 20 && b <= 30)); end print in2030(15, 99),"\n" print in2030(25, 28),"\n"
Output:
false true.
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Output:
need an explanation for this answer? contact us directly to get an explanation for this answer