When changing my method from
to
Eclipse gives me an error, that my return type is missing. Seems that i must have a return statement somewhere.
Right now i cant seem to get the method...
Type: Posts; User: j4ze
When changing my method from
to
Eclipse gives me an error, that my return type is missing. Seems that i must have a return statement somewhere.
Right now i cant seem to get the method...
Im writing a method that must take an integer (amount) as input and return a number of denominations for that amount.
Ex.
I have the denominations: 100, 50, 20, 10, 5, 1
I call my method with...