Assignment 3 - Invoice/Receipt Generator (Exception Handling)
ACME Inc hired you to create an invoice generator for their system. They sell the following items:
1. WALL-E Robot
- Product Code: WE
- Price: $399.00
2. Rocket powered roller blades
- Product Code: RB
- Price: $199.00
3. Jet propelled jumping shoes
- Product Code: JS
- Price: $249.00
The system asks the user which item they would like to purchase and its quantity. You can assume that only one item is sold at a time. The quantity purchased cannot exceed 100.
The invoice you print must display:
1. Name of the item purchased, item price, and quantity purchased
2. Total amount
You are required to upload the entire source code in a zip format. You must handle all possible errors and use exception handling.