a company has a sales record of n products for m days the company wishes to know the maximum revenue received from a given product of the n products each day.write an algorithm to find the highest revenue received each day
Answers
Answered by
2
Answer:
Below is the algorithm to find the highest received revenue each day:
Explanation:
No. of Products = n
No. of Days = m
let's assume, No. of some Particular product = P and Total revenue = R
Maximum revenue of product P per day= (R/m)*P
= (Total Revenue/ No. of Days)* No. of particular product
Therefore, the highest revenue received each day of product P is (R/m)*P
Similar questions