Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I. need help. with this. c++ problem thank you 16 pOMILS) displays it inside 2. Write program to print out the appropriate activity depending on

I. need help. with this. c++ problem

image text in transcribed

thank you

16 pOMILS) displays it inside 2. Write program to print out the appropriate activity depending on the temperature. (16 points) swimming temp> = 85 temp>70 but less than 85 - tennis temp > -32 but less than 70 -golf temp>-0 but less than 32 -skiing else(none of these temperatures apply) go for dancing You have to write a function called PrintActivity that will take the temperature as input and pass it to the function. It will then determine what activity to be done inside of the function and print it inside the function. Remember this is a void function Pseudo code: r for the function 2. Read temperature from the user 3. Pass the temperature to the function 4. Decide the activity and print it put on the screen

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions