Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA PROGRAMMING URGEEENTTTT PLS HELP A stationery dealer wants to have a program to compute the the amount of income expected from each store he

JAVA PROGRAMMING URGEEENTTTT PLS HELP
image text in transcribed
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: Goldd 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 OM

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

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

Identify the risks associated with not planning.

Answered: 1 week ago