Q1. An employee wants to calculate his total salary after deducting an amount for car loan based on his employee code. Write a java program to find total salary of the employee using following...


Q1. An employee wants to calculate his total salary after<br>deducting an amount for car loan based on his employee code.<br>Write a java program to find total salary of the employee using<br>following instructions. Save the project/file as QlyourlID (ex:<br>Q142S123). (USE switch/if...else statement)<br>• INPUT income of employee.<br>• ENTER/INPUT empCode, empName.<br>• Find the loan based on the table given below using<br>switch/if...else statements:<br>empCode<br>10 for Director<br>loan<br>80 % of income<br>20 for Manager<br>30 for Supervisor<br>30% of income<br>15% of income<br>Others<br>5% of income<br>• Calculate totalSalary where totalSalary = income - loan<br>• Display empName and totalSalary<br>

Extracted text: Q1. An employee wants to calculate his total salary after deducting an amount for car loan based on his employee code. Write a java program to find total salary of the employee using following instructions. Save the project/file as QlyourlID (ex: Q142S123). (USE switch/if...else statement) • INPUT income of employee. • ENTER/INPUT empCode, empName. • Find the loan based on the table given below using switch/if...else statements: empCode 10 for Director loan 80 % of income 20 for Manager 30 for Supervisor 30% of income 15% of income Others 5% of income • Calculate totalSalary where totalSalary = income - loan • Display empName and totalSalary

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here