Report File
Report File
TOPIC:
SIMPLE BILLING SYSTEM
ALL INDIA SENIOR SCHOOL CERTIFICATE EXAMINATION
(AISSCE 2023-2024)
NAME-NITIN SINGH
CLASS-11 SCIENCE
Roll No-46
INDEX
1. Certificate
2. Acknowledgement
3. Aim
4. Coding with Screenshots
5. Requirements
6. Bibliography
SANSKAAR INTERNATIONAL SCHOOL
CERTIFICATE
This is to certify that NITIN SINGH have successfully
completed this project report.
entitled:
"SIMPLE BILLING SYSTEM"
During the academic year 2023-2024 towards partial
fulfilment of C.S.Practical Examination conducted by CBSE.
------------------------ ----------------------------
Teacher’s Signature Principal’s Signature
-----------------------------------
External Invigilator’s Signature
ACKNOWLEDGEMENT
NITIN SINGH
11-Science
Roll No-46
AIM
1. User Interface
Generate a bill
Exit
2. Item Management
3. Cart Management
4. Generate Bill
Display the items, quantities, prices, and the total amount in a bill.
6. Error Handling
def generate_bill(self):
total_amount = 0
print("\n===== Bill =====")
print("{:<15} {:<10} {:<10}".format("Item",
"Quantity", "Total Price"))
print("=" * 35)
print("=" * 35)
print("Total Amount:
{:.2f}".format(total_amount))
def billing_system_app():
billing_system = BillingSystem()
while True:
print("\n===== Simple Billing System =====")
print("1. Add Item")
print("2. Generate Bill")
print("3. Exit")
choice = input("Enter choice (1/2/3): ")
if choice == '1':
item = input("Enter Item Name: ")
quantity = int(input("Enter Quantity: "))
price = float(input("Enter Price per Unit: "))
billing_system.add_item(item, quantity,
price)
print("Item added successfully!")
elif choice == '2':
billing_system.generate_bill()
elif choice == '3':
print("Exiting the Billing System.
Goodbye!")
break
else:
print("Invalid Input. Please enter a valid
choice.")
if __name__ == "__main__":
billing_system_app()
REQUIREMENTS
1. Python Installed:
5. Problem-Solving Skills: