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: colder than 40 degrees --> 10% percentage of plants sold. between 40-60 degrees -->30% of plants sold between 61-70 degrees --> 50% of plants sold between 71-80 degrees -->60% of plants sold hotter than 80 degrees--> 40% of plants sold.

write a 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.

The program needs to be in C++ can anyone help me please?

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

Database Marketing The New Profit Frontier

Authors: Ed Burnett

1st Edition

0964535629, 978-0964535626

More Books

Students also viewed these Databases questions

Question

Define decision trees.

Answered: 1 week ago

Question

What are the stages of project management? Write it in items.

Answered: 1 week ago