Question
Write a program in C++ using GUI using header files and make file. Submit a folder named closet that contains the main function (in a
Write a program in C++ using GUI using header files and make file. Submit a folder named closet that contains the main function (in a file closet_main.cpp)and any header files you include. DO NOT forget to include a MAKEFILE. (Automatic zero if you code everything in closet_main.cpp)
Marko wants to clean out and sell some of the items in his closet. He has asked you to create a program to help him do this. The program should allow him to enter the products he wants to sell (along with the price) and then continuosly allow customers to look for a product and buy it. Marko should be able to check at any time the amount of money he has made from sales.
PROGRAM SHOULD BE through GUI ONLY:
Hello closet cleaner! Enter your name: Marko How many items do you want to sell? 3 Enter item and price: belt 3.50 Enter item and price: shoes 8.75 Enter item and price: pants 4.25
*************** Markos Closet! ***************
Hello shopper! What item are you looking for? shoes We have shoes for $8.75.Would you like to buy them? yes Ok!
Hello shopper!What item are you looking for? sunglasses Sorry! We dont have that. Hello shopper!What item are you looking for? check balance Hello Marko!So far you have made $8.75. Hello shopper!What item are you looking for? exit Bye
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