Problem

For the following exercises, use the incremental development methodology to implement th...

For the following exercises, use the incremental development methodology to implement the program. For each exercise, identify the program tasks, create a design document with class descriptions, and draw the program diagram. Map out the development steps at the start. Present any design alternatives and justify your selection. Be sure to perform adequate testing at the end of each development step.

Write an application that reads daily temperatures for 12 months and allows the user to get statistics. Support at least three options: monthly average of a given month, yearly average, and lowest and highest temperatures of a given month. Use a text file to store temperatures. A line in the text file contains daily temperatures for one month. The first line in the text file contains temperatures for January; the second line, those for February; and so forth. Use StringTokenizer to parse a line into temperatures of type float. For a data structure, consider using either an array of Month or a two-dimensional array of float. Month is a class you define yourself.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 13