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.
in java
Answers
Answered by
0
Explanation:
add me brainliest i will definitely help u
Similar questions
India Languages,
9 days ago
Science,
9 days ago
Social Sciences,
9 days ago
Math,
18 days ago
Physics,
18 days ago
History,
8 months ago
Math,
8 months ago