Computer Science, asked by FloorGangOuh, 5 months ago

Define a class Teacher described as below:
Data members: name, age, gender, Exp_in_years, Grade, CTC
Member methods:
A parameterized constructor to initialize the data members
inputData() to accept details of a teacher
Compute_Bonus() that accepts grants a loyalty bonus based on years of experience: (> 10 years, 10% of CTC, >7 years, 7% of CTC, >5 years, 5%of CTC)
displayData() to display all the data

Write a main method to create an object of a class and call the above methods.

Answers

Answered by nandsrivastavasatya1
0

Answer:

question is not corrcet

Explanation:

so please correct that then ask

Answered by siddhikahemang2005
0

Answer:

Explanation: do you mean

Define a class Teacher described as below: Data members: name, age, gender, Exp_in_years, Grade, CTC Member methods: A parameterized constructor to...

Similar questions