Answered step by step
Verified Expert Solution
Question
1 Approved Answer
URGENT***** HELP ME QUICK PLSSS A stationery dealer wants to have a program to compute the the amount of income expected from each store he
URGENT***** HELP ME QUICK PLSSS
A stationery dealer wants to have a program to compute the the amount of income expected from each store he is dealing with for selling pens. He deals with three stores, therefore, the program has to ask the user to enter the number of pens' boxes requested by the each store. The cost of a pen is AED 1.5, the box fit 12 pens, and the profit margin is 30%. Therefore, the program must ask the user to dealer to enter the name of the store, and the number of boxes requested. Then the program compute the cost per store, the profit per store and then the income per store. After that the program compute the total income. The program has to display the name each store in UpperCase, the expected income per store, and the total income. Cost Per store = cost of pen * number of pens per box * number of boxes Profit per store = Cost Per store * profit margin Income per store = Cost Per store + Profit per store Sample Input/Output: Enter the name of the first store: Golden Stationery Enter the number of boxes requested by first store: 100 Enter the name of the second store: Saqar_Bookshop Enter the number of boxes requested by second store: 200 Enter the name of the third store: Ahli Supermarket Enter the number of boxes requested by third store: 350 GOLDEN STATIONERY - AED 2340.0 SAQAR_BOOKSHOP - AED 4680.0 AHLI SUPERMARKET - AED 8190.0 *** Total Income: AED 15210 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started