Write a program for following specification:
Class – Employee
Data members: Name , basic salary, da, hra, ta, pf, gross salary
Members methods:
void get() : to accept name and basic salary of employee.
void calc(): to calculate the gross salary based on following slab:
Basic salary da% ta% pf%
>=20,000 53 12 8
>=10,000-<20,000 45 15 8
<10,000 50 10 7
void display(): to display the following data in given format:
Name Basic Salary Gross Salary
XXX XXX XXX
Answers
Answered by
0
Answer:
addffdfsgsgsvsysydbsujaja
Similar questions