C++ displays error variable not define. Write a program to display Total bill for a customer. The
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 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
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang