Question: Sports exercise advisor algorithm . In this algorithm you will start out with a temperature value in Celsius, so you do not need to ask
Sports exercise advisor algorithm. In this algorithm you will start out with a temperature value in Celsius, so you do not need to ask the user for it. First, convert the temperature to Fahrenheit. Then display a recommended sports exercise based on the Fahrenheit temperature as follows: for temperatures between 65 and 80 display tennis, for colder temperatures display ping pong, and for warmer temperatures display canoeing.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
