0

on ruby how do you make a variable be able to sort itself into a bigger variable made up of many variables form greatest to leas

how to do this without writing out all the variables like if you had 100 variables but wanted to sort from height to see where this variable fits without writing each variable out to sort it in to the rest of the variabls

5th Oct 2017, 6:12 PM
Brennan Noriega
4 Answers
0
if i had a b c d and f but i wanted to know how to code to know where e would go if f was 7 and d was 4 and e was 5 how.
6th Oct 2017, 5:33 PM
Brennan Noriega
0
ok i will do the code get back to you later
6th Oct 2017, 6:00 PM
Brennan Noriega