Question: Develop a single shell script which can do the following task: a. Take input of n employees salary using loops b. Calculate and display the
Develop a single shell script which can do the following task: a. Take input of n employees salary using loops b. Calculate and display the total of all the salaries C. Calculate and display the average of all salaries d. Display the output in given below format. Sample Output/Example Output: Enter number of employee as n: 3 Enter employee 1 salary: 300 Enter employee 2 salary: 300 Enter employee 3 salary: 300 Company Name: Omantel Total 900 Average of student marks: 300 7 A- B I EE Go
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
