Question 1: If Else

Develop a program to determine a user’s level of fitness based on their running performance.

 

Start by asking for the user’s name.

Then, ask about what time it took them to complete a race.

 

If the time the user entered is less than 30, congratulate them on their excellent performance by saying: Well done you ran very fast!.



If the time is over 30 minutes, encourage them by saying: That was too slow, keep training and run faster.

Write what you are looking for, and press enter to begin your search!