Vb.net

Write a class called Doctor. The Doctor class will have four data members: name (String), workingHours (int), yearsOfService (int), and salary (Double).

Create a class named TestDoctor to test your Doctor class. Your program should:
• Create three Doctor objects, enter their names, working hours, years of service, and salaries, and then display the data for each doctor.
• Calculate and display the average working hours of the three doctors.
Ok , i did it on paper only
But I will do it on action soon
Topic archived. No new replies allowed.