I suppose my question is broader than for just integers, but I really mean for all numbers in the ArrayList. Is there a method for returning the product for all numbers within the ArrayList? If my ArrayList values are [2, 5, 10] I would like it to return 100. I'm not sure it will solve the road block I've hit in my program but I want to give it a crack.
Just felt like I had my hands full enough with the rest of the code. I suppose I could give it a shot. Maybe integers aren't the best choice. I'm writing a coin calculation program and hadn't considered that the user would enter a large number for a coin but I suppose I should account for that.
How do they get the deer to cross at the signs? Or to read this tiny ad?