Write a program to display Total bill for a customer. Theprogram asks the user to enter qty and price for the item. Theregular customers gets discount of 3% of total bill.
Your Output should display
Number of Items=xxx
Price per item= xx.xx
Total Bill=xx.xx
Discount amount=xx.xx
Payment=xx.xx
Input
Processing
Output
Qty=int
Price=double
DisRate=0.03
Totalbill=Qty *price
disAmt=totalbill * disrate
payment= totalbill – disAmt
Qty
Price
Totalbill
DisAmt
Payment
Write a program to display Total bill for a customer. The program asks the user to enter qty and price for the item. Th
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am