This Python script simulates an order system for GEROBAK FRIED CHICKEN. It allows the user to place orders for different types of chicken cuts and calculates the total bill including tax.
-
Run the script:
python script.py
-
Follow the on-screen prompts to place your order:
- Enter the code for the chicken cut you want to order (e.g., 'D' for Dada, 'P' for Paha, 'S' for Sayap).
- Enter the quantity you want to order.
- To calculate the total bill, enter 'T'.
-
The script will display a summary of your order, including the total amount to pay, tax (10%), and the final total.
Here's an example of the script's interaction:
----------------------------------------------------------------------
GEROBAK FRIED CHICKEN
----------------------------------------------------------------------
No Kode Jenis Potong Harga Satuan Banyak Subtotal
----------------------------------------------------------------------
1 D Dada Rp 2500 2 Rp 5000
2 P Paha Rp 2000 3 Rp 6000
3 S Sayap Rp 1500 4 Rp 6000
----------------------------------------------------------------------
Jumlah Bayar Rp 17000
Pajak(10%) Rp 1700
Total Rp 18700
This script is provided under the MIT License.
- Author: Your Name
Feel free to adapt the script and README.md to your specific use case or requirements.
Replace `"Your Name"` in the author section with your name or details.