[Unable to Solve this Exercise ]

``````let salary = 10000;

let Employee = {
salary: 10000
};
entryLevel: { taxMultiplier: .05, benefits: [‘health’], minSalary: 10000, maxSalary: 49999 },
midLevel: { taxMultiplier: .1, benefits: [‘health’, ‘housing’], minSalary: 50000, maxSalary: 99999 },
seniorLevel: { taxMultiplier: .2, benefits: [‘health’, ‘housing’, ‘wellness’, ‘gym’], minSalary: 100000, maxSalary: 200000 }
};

return ‘entryLevel’;
return ‘midLevel’;
} else return ‘seniorLevel’;
}

export function calculateTax() {
}

export function getBenefits() {
}

export function calculateBonus() {
return .02 * Employee.salary;
}

export function reimbursementEligibility() {
let reimbursementCosts = { health: 5000, housing: 8000, wellness: 6000, gym: 12000 };
let totalBenefitsValue = 0;
for (let i = 0; i < employeeBenefits.length; i++) {
totalBenefitsValue += reimbursementCosts[employeeBenefits[i]];
}
}

export default Employee;

// Importing file:

import {getcadre, calculateTax, getBenefits, calculateBonus, reimbursementEligibility } from ‘./employee’;
import Employee from ‘./employee’;

function getEmployeeInformation(inputSalary) {
Employee.salary = inputSalary;
console.log('Tax: ’ + calculateTax());
console.log('Benefits: ’ + getBenefits());
console.log('Bonus: ’ + calculateBonus());
console.log('Reimbursement Eligibility: ’ + reimbursementEligibility() + ‘\n’);
}

getEmployeeInformation(10000);
getEmployeeInformation(50000);
getEmployeeInformation(100000);
``````

``````return payGrades[Employee.getCadre()].benefits.join(’, ');