0% found this document useful (0 votes)
44 views1 page

Edit Personal Information

The document describes a script for an online food delivery program. The script collects customer details like name, address, contact, and email. It then displays a main menu with options to edit details, order food, proceed to checkout, and exit. The order section lists menu items and totals the bill. Checkout shows order details, allows changes, and confirms the order by collecting payment and address details before sending an email receipt. The program addresses the user by name and only allows exiting through the main menu.

Uploaded by

AlexanderRoxas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views1 page

Edit Personal Information

The document describes a script for an online food delivery program. The script collects customer details like name, address, contact, and email. It then displays a main menu with options to edit details, order food, proceed to checkout, and exit. The order section lists menu items and totals the bill. Checkout shows order details, allows changes, and confirms the order by collecting payment and address details before sending an email receipt. The program addresses the user by name and only allows exiting through the main menu.

Uploaded by

AlexanderRoxas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Create a script that functions like an online delivery program for a specific restaurant.

The program starts by welcoming the


user, and by asking the following details:
1.
2.
3.
4.

Full name of User (Surname, First Name, Middle Name)


Complete Delivery Address
Contact Number of User
Email Address of User

The program then proceeds to its main menu:


EDIT PERSONAL INFORMATION
a. This allows the user to edit the information you asked at the start of the program.
b. Include a SAVE CHANGES or CANCEL feature. Update the user profile when the user selects SAVE CHANGES.
ORDER NOW
a. You must have at least 6 different items to choose from. You have the freedom to create your own menu, and
assign your desired price for each item.
b. The user must be able to indicate his/her desired quantity for the item he/she chose.
c. The program should display the current total price, and updates this value each time the user selects another item.
d. Once the user is finished ordering, the program should go back to the main menu.
PROCEED TO CHECKOUT
a. The program should display a table of all the items the user has ordered. First column should show the item and
its price, second column should show the quantity the user indicated, and third column should show the total
amount per item (quantity*price per item). The total price should be displayed at the bottom of the table.
b. The program should give the user the option to change his/her orders, or add more items. The current total price
should still be displayed, and continuously updated. Once the user is done, a new table of all items ordered should
be presented.
c. Once the order is finalized, the program should ask for the following details:
a. Change for how much?
b. Landmarks (for users delivery address)
d. The program should display a thank you message, and must tell the user that a confirmation email has been sent.
EXIT
The following restrictions must be observed:
1. The program should ALWAYS address the user by his/her first name.
2. The only option for exit is by selecting EXIT.

You might also like