Question: I need the code for this question Define a Teacher class with attributes including job number, name, phone and salary. Define a member function SetValues()
I need the code for this question
Define a Teacher class with attributes including job number, name, phone and salary. Define a member function SetValues() to assign values to these properties. Define a member function ShowData() to output teacher information. Define a global function to import 10 teacher data from the file data.txt and output the teacher inf ormation to the screen. Sort the the data by salary with hubble sort method and output the sorted data to the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
