Create a class called Big_Bazar with the following data members and member
functions
Data members: Name of customer, Address and purchase amount
Member function:
input( ) : To accept and store name, address and purchase amount of a
customer.
discount( ): To calculate discount @ 15% if the purchase amount is above
Rs.10000
amount( ) : To calculate amount to be paid after deducting discount.
tax( ) : To calculate VAT @ 12% on amount to be paid
bill( ) : To calculate net bill to be paid after charging VAT.
output( ) : To display bill with all the details
main( ) : To create an object of class and call all the function in logical
order
constructor: To declare all data members to zero.
Answers
Answered by
1
Answer:
ooooooooougvjycchigcchjkoo
Similar questions