write a java coding by following details..
1) class name - name , pay. 2 ) data members - double salary, da ,hra , gross salary
3) member method a) void input data ()- to input the salary further.
b) void calculate ()- to calculate da which is 12% of the salary, gross salary = da + hra + salary.
c) void print result ()- to print the salary and the gross salary.
Answers
Answered by
0
Answer:
It is too long and u have given only 5 points plz increase the point than I will answer
Similar questions