Write a Ruby program to compute the sum of the first 2 elements of a given array of integers
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)

Programming
Ruby on rails programming