Question: Do a java program that produces the same output as the screenshots below. (please, no redudancy of the code thank you) Stocks : Cost :

Do a java program that produces the same output as the screenshots below. (please, no redudancy of the code thank you)

Do a java program that produces the same outputDo a java program that produces the same outputDo a java program that produces the same output
Stocks : Cost : Bags - 10 #25 . 45 Shoes - 20 P67 .64 Shirt - 10 #43. 23 Jeans - 10 #24 . 12 Gloves - 5 | |P12. 34 What would you like to buy? bag How many? 10 Subtotal: #254.50 Would you like to buy again? (Y/N): y What would you like to buy? shoe How many ? 10 Subtotal: 8930.90 Would you like to buy again? (Y/N): n The total is: #930.90 Input Payment: $1000 Your change is: P69.10 Would you like to make another transaction? (Y/N) n Thank you come again!Stocks : Cost : Bags - 10 #25 .45 Shoes - 20 $67 . 64 Shirt - 10 #43.23 Jeans - 10 #24 . 12 Gloves - 5 | |#12. 34 What would you like to buy? BAGS How many? 10 Subtotal: #254.50 Would you like to buy again? (Y/N): y What would you like to buy? glove How many? 6 Not enough stock. Try again How many? 4 Subtotal: #303.86 Would you like to buy again? (Y/N): n The total is: #303.86 Input Payment: #500 Your change is: $196.14 Would you like to make another transaction? (Y/N) yWould you like to make another transaction? (Y/N) y Stocks : Cost: Bags - 0 #25. 45 Shoes - 20 $67. 64 Shirt - 10 P43 .23 Jeans - 10 P24 . 12 Gloves - 1 | |#12. 34 What would you like to buy? bag Item Out of Stock. Select another item. What would you like to buy? shoe How many ? 10 Subtotal: #676.40 Would you like to buy again? (Y/N) : n The total is: $676.40 Input Payment: #1090 Your change is: $323.60 Would you like to make another transaction? (Y/N) n Thank you come again

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!