Question: Write a method sportsRecommender that inputs a Celsius temperature and returns Its lovely weather for sports today! if its 2030 C, Its reasonable weather for
Write a method sportsRecommender that inputs a Celsius temperature and returns “It’s lovely weather for sports today!” if it’s 20–30 °C, “It’s reasonable weather for sports today.” if it’s 10–40 °C, and “Please exercise with care today, watch out for the weather!” otherwise. Create an application to test the method.
Step by Step Solution
There are 3 Steps involved in it
This question seems to be related to Java programming Lets work on a Java met... View full answer
Get step-by-step solutions from verified subject matter experts
