A university posts its employees’ salaries at
http://cs.armstrong.edu/liang/data/Salary.txt. Each line in the file consists of a
faculty member’s first name, last name, rank, and salary (see Liang Book:
Programming Exercise 12.24). Write a program to display the total salary for assistant
professors, associate professors, full professors, and all faculty, respectively, and
display the average salary for assistant professors, associate professors, full professors,
and all faculty, respectively.
Comments
Leave a comment