/* Driver.java * Create a month object, and print the following about this month: * the highest and lowest temperature, the total rain, and how much * heat and air conditioning was needed. */ import java.io.FileNotFoundException; public class Driver { public static void main(String [] args) throws FileNotFoundException { Month m = new Month(); System.out.printf("The max temperature was %d\n", m.findMax()); System.out.printf("Here is the day when the lowest temp occurred:\n%s\n", m.findMin().toString()); System.out.printf("Total rainfall for the month was %.2f\n", m.findTotalRain()); System.out.printf("Amount of heat needed was %.1f\n", m.findHeat()); // Call to findAC() has been omitted in this example. } }