Question: You are tasked to help the two coaches determine the suitable activities for their PE classes given a temperature ( integer ) . For this

You are tasked to help the two coaches determine the suitable activities for their PE classes given a temperature (integer).
For this problem, only three activities are considered, and each is only suitable within a range of temperatures. Specifically,
- Ice skating is suitable for temperatures ranging from 10 to 32 Fahrenheit (inclusively)
- Soccer is suitable for temperatures ranging from 40 to 90 Fahrenheit (inclusively)
- Swimming is suitable for temperatures ranging from 80 to 100 Fahrenheit (inclusively)
Your program will take an integer (indicating the temperature) as input and output the activities given the above ranges.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!