Write a program to allow you to enter the basic salary of anindividual, his year
ID: 3615717 • Letter: W
Question
Write a program to allow you to enter the basic salary of anindividual, his years of experience and the number of hisdependents. From the years of experience calculate the experienceallowance as 7.5% of the basic salary for every year. From thenumber of dependents calculate the utility allowance. If the numberof dependents is 1, the utility allowance is 2% of the basicsalary. If the number of dependents is 2 the utility allowance is4% of the basic salary and if the number of dependents is 3 or morethe utility allowance is 6% of the basic salary. The program shouldprint the basic salary entered, the experience allowance and theutility allowance calculated.
Explanation / Answer
Hello viruss, I can solve the problem I just need the formulas! i.e. formula for experience & formula fordependants..Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.