Computer Science, asked by maanrakesh95, 5 months ago

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 belov
Sale
Commission
Up to 50,000
5%
More than 50,000 and up to 80,000
8%
More than 80,000 and up to 1,00,000
10%
More than 1,00,000
12%
(iii) void display() : to display the details of employee's name with commission
Write a main method to create object of a class and call the above member method​

Answers

Answered by Aadilsarankhawala
1

Answer:

yes

Explanation:

:hvxfu nak chala gaya bangaya fruit and vegetables and fruits and everyone who has ever had at least two of

Similar questions