Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started