Back To C++ Classes
in the code given below getdata() member function inputs data from user, calculate() member function calculates total salary as sum of basic,da and hra, showdata() function displays the data with total and percentage of student