0

I'm working on comp. science 101 work and I have 4 methods left to do which I can't figure out and I've been trying for hours. Very elementary but difficult for smoeone new to computers and Ruby.
For example: I need to write a method called 'diff' which accepts 2 parameters and returns the difference between the two, (but withoutputs) ...I can only figure out using puts.

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by dayt3
0

Figured it out.

I'm working on comp. science 101 work and I have 4 methods left to do which I can't figure out and I've been trying for hours. Very elementary but difficult for smoeone new to computers and Ruby.
For example: I need to write a method called 'diff' which accepts 2 parameters and returns the difference between the two, (but withoutputs) ...I can only figure out using puts.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.