Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

Identify the uses of performance appraisal.

Answered: 1 week ago