- script.js
JavaScript
var calculateSalary = function () {
};
/* Technical assignment
Meow! I need a program that will use the gross salary (salary before tax) to calculate an approximate take-home salary (that is given out).
Design the program as calculateSalary function with one parameter: gross salary amount. The function must return a take-home salary.
I do not need great accuracy, we just take into account that 35% of the gross salary amount are taxes, and if gross salary is greater than or equal to 100 thousand, then taxes are already 45%.
*/