Question: For this assignment you are writing a program in java/netbeans that will prompt the user for a daytime temperature (whole number Fahrenheit value). Based upon
For this assignment you are writing a program in java/netbeans that will prompt the user for a daytime temperature (whole number Fahrenheit value). Based upon that temperature, the program will make a suggestion regarding an activity for that day at Lake LazyDays based on the list provided below which includes the temperature value provided. Be sure to include a message to the user explaining the purpose of the program. Also, the program should be designed so that the user can continue to enter temperatures for as long as s/he desires. Please used a y/n sentinel value to end the program. Be sure to thank the user for running the program so s/he knows it ended correctly.
Activities at Lake LazyDays Based on Temperature
Swimming between 80 and 95 inclusive
Tennis between 60 and 79 inclusive
Golf between 40 and 59 inclusive
Skiing between 20 and 39 inclusive
Visit our shops anything else
Include clear comments throughout the program that explain the variables and what functionality the various lines/small sections of code are completing as related to the execution of the program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
