Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The number of plants purchased at a store is related to the number of available plants and the temperature outdoors. The relationship of outdoor temperature

The number of plants purchased at a store is related to the number of available plants and the temperature outdoors.

The relationship of outdoor temperature to sales is:

Outdoor Temp Percentage of Plants Sold

Colder than 40 degrees 10%

Between 40 degrees and 60 degrees 30%

Between 61 degrees and 70 degrees 50%

Between 71 degrees and 80 degrees 60%

Hotter than 80 degrees 40%

Write a C++ program that will calculate the estimated number of plants which will be sold for all temperature ranges using the user input for the number of available plants in the store.

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

Step: 3

blur-text-image

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

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

8. Provide recommendations for how to manage knowledge.

Answered: 1 week ago

Question

5. Develop a self-management module for a training program.

Answered: 1 week ago