can any1 please tell me why the following code wont output the months?
the average will output but error messages wont allow the highest and lowest month to be output:
System.out.println("\t\t)---------Table of Results---------(");
System.out.println("\tAverage Sunshine | Highest Rainfall | Lowest Rainfall");
System.out.printf("Month | \t%.2f\n",averageSunshine(sunshine));
System.out.print(month[highestMonth(sunshine)],month[lowestMonth(sunshine)]);
plesase help :S