Skip to content

GEROBAK FRIED CHICKEN Order System 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.

Notifications You must be signed in to change notification settings

dms-codes/gerobak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

GEROBAK FRIED CHICKEN Order System

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.

Usage

  1. Run the script:

    python script.py
  2. 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'.
  3. The script will display a summary of your order, including the total amount to pay, tax (10%), and the final total.

Example

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

License

This script is provided under the MIT License.

Author

  • 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.

About

GEROBAK FRIED CHICKEN Order System 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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages