Quote Originally Posted by RandomGuy
i only read the top part, but to clarify

you are trying to make a prog that will calculate the total and average rainfall amounts right?


I don't know about you but an easier way to do it would be to use an array man.

It would make everything so much easier for you. I'm not going to do your homework for you man but its mad easy just learn it.

Heres some pseudo code to point you into the right direction

declare an array (for the amount of rain)
in the procedure for the button, make it store the contents of the input box into a new element of this array
I cant do an array...not allowed.... have to do two seperate functions to calculate the total and average rainfall. I am completely lost. This is an online class and the teacher never answers any emails. Very frustrating. I got it all untill I got to this last part..now it is like I'm looking at a Chineese dictionary.