Write a Ruby program to compute the sum of the two integers, if the two values are equal return double their sum otherwise return their sum
All Answers
need an explanation for this answer? contact us directly to get an explanation for this answer
need an explanation for this answer? contact us directly to get an explanation for this answer
Output:
total answers (1)


Ruby on rails programming
Programming