Seasonal Calculator Solution

Seasonal Calculator Solution

Write a program that prompts the user for a month and day and then prints the season, as determined by this algorithm.  Abort the program if given invalid data (i.e., invalid month number and/or invalid day number).

The following algorithm yields the season (Spring, Summer, Fall, or Winter) for a given month and day.

Using NetBeans
Powered by