Saved Bookmarks
| 1. |
Define a class Commission described as below:Instance variables/Data members:String name: stores the employee's name.int emp-no: stores the employee number.int sale: stores the monthly sale.Member methods:(i) void input() : to input and store employee's name, number and sale.(ii) void compute(): to calculate commission on sale as per the tariff given belovSaleCommissionUp to 50,0005%More than 50,000 and up to 80,0008%More than 80,000 and up to 1,00,00010%More than 1,00,00012%(iii) void display() : to display the details of employee's name with commissionWrite a main method to create object of a class and call the above member method |
|
Answer» yes Explanation: :hvxfu nak chala gaya bangaya fruit and VEGETABLES and fruits and everyone who has ever had at LEAST TWO of |
|