Skip to content

This program is a cashier system for restaurants with a lot of options that can vary the final price of the bill. So that making it easier to the cashier and the company to keep tracking the earnings.

License

Notifications You must be signed in to change notification settings

Hugosntss/cashier_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Cashier System Program by Hugo Santos

This program is a cashier system that allows the worker keep track of everything that the costumer asked for their food. And each item in the menu can cause a different value at the end of the bill, so each item will have a unique price.

Also the program will count with taxes in California, which is 7%. And the program will show the total price before taxes and after taxes. And if the costumer is a student, then they can get 15% discount in the total price of their food. The program counts with discount for students by asking them for Student ID Number.

How the code works?

The code works just as any cashier system, it asks for what kind of meal the costumer was asking for which is the use of input/outputs (cin/cout) to adquire the costumer's request. And each kind of bools has your own function to be called during the payment so that the whole order can be charged right, like with everything that was added to the bowl and plus the taxes.

REC-20241002011319

Also, the code counts with a part of the system to save the orders that got completed, so that keeping track of all the oders to avoid any mistakes that can be made by the crew. In addition, the function to save orders can also show the time that the order was completed by using ctime (which I am still reading about it)

Well, being honest the idea of saving orders was a little tricky, because I had to do a quick search to implement that kind of function in my code and I am still trying to understand how it works actually(sorry).

Screenshot 2024-10-02 at 1 48 48 AM

Also, the code has a function that allows the cashier to delete certain items in case the costumer changes their mind about ordering, so that making the cashier be able to "change" the source code without having to change the whole thing manually, and avoiding having to start the order over.

Video Explanation:

project.1.online-video-cutter.com.1.1.1.mp4

Slides used:

Screenshot 2024-10-02 at 3 51 39 PM Screenshot 2024-10-02 at 3 51 46 PM Screenshot 2024-10-02 at 3 51 49 PM Screenshot 2024-10-02 at 3 51 53 PM

About

This program is a cashier system for restaurants with a lot of options that can vary the final price of the bill. So that making it easier to the cashier and the company to keep tracking the earnings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages