Recurring(Looping) Sum, Count and Average
I need help with a problem. I'm stuck at the very beginning
I need a write a program in which I will enter one Integer at a time and it will return the result counting the Sum, Count and Average
Something like this
(sum, count, average) = (3, 1, 3.0)
(sum, count, average) = (4, 2, 2.0)
(sum, count, average) = (6, 3, 2.0)
It also uses the try catch and exceptions
Sorry, 3.141592 doesn't seem to be an integer...
Can somebody please help me
Re: Recurring(Looping) Sum, Count and Average
Please post the code you are having problems with.
Be sure to wrap your code with
<YOUR CODE HERE>
to get highlighting and preserve formatting.