12 Jan Project Report
12 Jan Project Report
- Everyone can easily find whatever menu they want to eat or buy at the restaurant.
- We can know the Price of any menu through this program.
- We can also see the Availability of all the menu.
- We can also know the details of a particular menu and reservation by this program.
- Also we can see profit/loss of any day by entering the date for which the book we issued
on the date we want to Return.
The Program
The display above is a view where a program will be run for the first time, the program has 3
menus, namely the VIP Registration menu, Order Dishes and Leave Here. Each menu has
different uses where the first menu is a menu for VIP registration, while the second menu is a
food ordering menu and the last menu is a menu out of the program.
In the VIP Registration menu there are main options, namely registering A new VIP, removing
VIP members and logging out. The three options have their respective goals, such as the register
menu a new vip has a function as a VIP registration menu while the VIP member remove has a
function in the form of removing registered members and selecting logout to exit the admin
account in this application.
When choosing the second choice, the first option will appear which contains eating here or the
second option, which is to take home. After making a choice, the user just has to make his
choice.
When the user chooses to eat here, the meal will change to be as above, here the user is given the
option to choose where he will sit which is numbered at the table with alphabets A to L. When
the user has chosen, the user just needs to enter the alphabet where he wants sit.
There are several menus that can be selected, the user only needs to enter an option from the
menu. For example, when the user wants to choose Nasi Uduk, the user only needs to enter the
number 14 into the input.
When the user selects the takeaway option, an "input your address" will appear where the user
must enter the address in order to be able to send the food that has been selected to the ordering
user's address.
Source code
The picture above is a source code of the main menu program, in the source code it contains a
print that displays the main options and there is an input option as well as an if else option as an
option from the main menu selection.
The following is the source code of the order menu which consists of 2 choices, namely eat hare
and takeaway. In this choice, it uses input and the if else option as choice 1 or choice 2.
The picture above is a source code of the total payment program. In the program contains for in
is a loop in python. In this program there is also a data type, namely int which is a number data
type.
The picture above is a source code from the admin login which contains input in the form of
admuserid and admuserpw, both of which have the same data type int. After the user enters the
id and password, the words "successful log in" will appear, while if the password is the same, the
words "you admin account are invalid, please try again".
The picture above is a source code of the eat here option menu, in the program menu it contains
input to determine which table to choose