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:
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?