1.

Designer a class program to calculate the discount given to a customer on purchasing LED TV the program also display the amount paid by the customer after discount the detail are given as class name: television data member : int cost ,int discount ,int amtmember function:Accept ():to input cost of televisionCalculate ():to calculate the discountDisplay ():to show the discount and the amount paid after discount***please write the program in stream class​

Answer» DESIGN a class program in java to calculate the discount given to a customer on purchasing led television . the program ALSO displays the AMOUNT paid by the customer after discount . the details are given as:class name : televisiondata members: INT cost, int discount, int amountaccept (): to input the cost of television calculate the discountdisplay(): to show the discount and the amount paid after discount.


Discussion

No Comment Found