question archive Write a bash script for an ABC organization fulfilling the following requirements • Takes an Employee's Name , designation, age, years of service and salary, extra working hours as an input • Calculates remaining years of service
Subject:Computer SciencePrice: Bought3
Write a bash script for an ABC organization fulfilling the following requirements • Takes an Employee's Name , designation, age, years of service and salary, extra working hours as an input • Calculates remaining years of service. An Employee retires at the age of 60 • Check if the Employee is valid for salary appraisal. If an employee has been working for more than an year he deserves to be given an appraisal of 10% • If an employee has given extra working hours within a month to the organization calculate bonus amount. Per hour amount varies depending upon the designation. See the given table to calculate bonus according to designations. Designation. Per hour-amount Higher-Management. 1K Lower-management 800PKR Other staff. 500 PKR • Print the Employee's information along with bonus and appraisal amount