Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help with MIS question! (python +). Thank you HW- Product Summary A local store wants to identify which face mask have the highest profit

Need help with MIS question! (python +). Thank you

HW- Product Summary

A local store wants to identify which face mask have the highest profit margin and are the most popular. They have hired you to update some of their systems. Your first task is to create an application to record the sales and calculate profit for individual masks sold. Write a program that accepts information from the user (a store clerk), calculates the total selling price, cost, and profit, and displays a summary of the item sold.

Information entered by the user (store clerk) includes:

The products name

The products price

The products cost

The quantity of the product sold

The program then outputs the following summary information about the face mask:

Name of the product

Total revenue generated by the product

Total cost of the product

Quantity of product sold

Total profit (in dollars) generated by the product

Percentage profit generated by the product (percent profit = total profit/total revenue)

Other program details:

Your program must contain a program header using comments (for all your homework in this class). The beginning of your program should contain four rows:

Author: XXX

Homework Number & Name: XXX

Due Date: XXX

Program Description: XXX

Your program must have good, relevant variable names

Your program should be commented throughout

Your program should prompt the user for all information before displaying the product summary.

For now, you can assume that the user will enter valid numbers for price, cost and quantity. (This will change on subsequent homeworks.)

You MUST store any calculations in variables (i.e. do not calculate the selling price, sales tax, or final product price directly in your print statements).

You may perform the tasks in any order as long as your output follows the order of the output specified above.

Your program should print a blank line after gathering the information from the user and before displaying the summary information.

All printed percentages should have zero decimal places and should be followed by a %.

Any printed dollar values should be preceded by a $ and contain two decimals.

QUESTION:

Scenario 1: 14 boxes of Disposable Face Mask Sold; Price is $9.97 per box; cost is $5.25 per box

_____ Is the name of the product displayed as Disposable Face Mask?

_____ Is total revenue displayed as $139.58?

_____ Is total cost displayed as $73.50?

_____ Is quantity sold displayed as 14?

_____ Is total profit displayed as$66.08?

_____ Is percentage profit displayed as 47%?

Scenario 2:1 box of KN95 sold; price is $149.00 per box; cost is $109.19 per box

_____Is the name of the product displayed as KN95?

_____ Is total revenue displayed as $149.00?

_____ Is total cost displayed as $109.19?

_____ Is quantity sold displayed as 1?

_____ is total profit displayed as $39.81?

_____ Is percentage profit displayed as 27%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions