Write a complete C program that reads 55 salaries from a file called “salaries.txt”. Your
program should store the salaries in an array of double values. Then you should send the
array to a function called raiseSalaries which will give a raise to each salary based on the
following rules:
1. Salary less or equal 700, give a raise = 4%
2. 700< salary <=1000, give a raise = 7%
3. 1000< salary <=1500, give a raise = 9%
Then your program should call another function called getMaxMin which accepts the
array, and returns using pointers the largest and lowest salaries. Finally your program will
print max and min salaries and also all new salaries on screen.
program should store the salaries in an array of double values. Then you should send the
array to a function called raiseSalaries which will give a raise to each salary based on the
following rules:
1. Salary less or equal 700, give a raise = 4%
2. 700< salary <=1000, give a raise = 7%
3. 1000< salary <=1500, give a raise = 9%
Then your program should call another function called getMaxMin which accepts the
array, and returns using pointers the largest and lowest salaries. Finally your program will
print max and min salaries and also all new salaries on screen.