Question: Write a program that takes quarterly sales for an organization ( in thousands of dollars ) over a year and calculates the total sales. The
Write a program that takes quarterly sales for an organization in thousands of dollars over a year and calculates the total sales. The output should change according to the sales entered. Check whether total sales are low under $ medium or higher and under $ or high $ or higher Also, print a warning message in the event that sales are under $ If the sales entered are nonnumeric, use a tryexcept block to indicate that the application only takes numeric data as input.
Input:
Output:
a Quarterly sales: $$$$
Total sales: $
Sales: low
Warning: Need to improve sales
b All sales should be numeric.
c Quarterly sales: $$$$
Total sales: $
Sales: med
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
