Question 1 - 10 Witte a program that ask the user to input to strings and store them in the variables temperature and hu
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 1 - 10 Witte a program that ask the user to input to strings and store them in the variables temperature and hu
Question 1 - 10 Witte a program that ask the user to input to strings and store them in the variables temperature and humidity. Your program should seneste statement to print the appropriate activity depending on the values of the variables, temperature and humidity, as specified in the table below trtemperatures Ir humidity is Print this activity Warm Dry "Play tennis Warm Humid "Go swimming Cald Dry "Play basketball Cold Humid "Relax at home and watch TV Assume that only the combinations of temperature and humidity values listed in the table are valid if the values were not from the combination isted in the table or written in a different case, the program should print "invalid input or cane sensitive error on the screen Sample input/output What should I Do Today? Plane Provide the following information to tell you what to do flow is the temperature? (Warmer Cold): Warm blow is the humidity? (Dryer Humid): Dry play tennis Sample input/output What Should I Do Today? Please Provide the following information to tell you what to do How is the temperature (Warm or Cold): COLD How is the humidity? (Dry or Humid): Dry amvalid input or case sensitive error!