Business requirement
A small shop needs a screen that calculates a bill from item price and quantity, with a basic bulk discount.
- Accept Price and Quantity.
- Calculate Subtotal as Price × Quantity.
- Apply a 10% discount when Subtotal is at least ₹1,000; otherwise apply no discount.
- Display Subtotal, Discount, and Total.
- Reject zero or negative inputs.