I'm working on a program that deals with annual rainfall. I have two 1D arrays, one with the rainfall data and another with the months of the year. I need to find the average yearly rainfall, driest and wettest month, as well as driest and wettest 3 month periods. All this needs to be outputted to a file. I was trying to use a comparision operation but the only one I could come up with was way to long. Any help would be greatly appreciated.