DATA MINING TUTORIAL
64 Posts
NUMBER SYSTEM
274 Posts
POLITICS
120 Posts
JAVASCRIPT INTERVIEW QUESTIONS
59 Posts

Can’t find an answer?
Ask us to get the answer
- This forum has 0 topics, and was last updated 1 year, 3 months ago by .
Define a class Teacher with the following specification: private members:
name | 20 characters |
subject | 10 characters |
Basic,DA,HRA | float |
salary | float |
Calculate() function computes the salary and returns it. Salary is sum of Basic, DA and HRA
public members:
Readdata() function accepts the data values and invoke the calculate function Displaydata() function prints the data on the screen.
- You must be logged in to create new topics.