Write a Ruby program to find the maximum of two numbers.
Ruby Code:
x= 6 y =8 max = x>y ? x:y puts "Max = "+max.to_s
Max = 8
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.
Ruby Code: