Question: C++ displays error variable not define. Write a program to display Total bill for a customer. The program asks the user to enter qty and
C++ displays error variable not define. Write a program to display Total bill for a customer. The program asks the user to enter qty and price for the item. The regular customers get 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 Totalbill=Qty *price Qty
Price=double disAmt=totalbill * disrate Price
DisRate=0.03 payment= totalbill – disAm Totalbill
DisAmt
Payment
Step by Step Solution
3.45 Rating (152 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
