-
Please help
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
-
Re: Please help
If you're getting error messages and need help with them, it is helpful for you to post those messages for us to see.
-
Re: Please help
its ok now, got it sorted . shouldn't of had commas in the last input statement.
thanks anyway though :)