Question: i need the solution by useing (if statement) Exercise 1: Write solutions applying if and switch Statements 1. Write JAVA program to enter values for
i need the solution by useing (if statement) Exercise 1: Write solutions applying if and switch Statements 1. Write JAVA program to enter values for employee's id, name and basicSalary 2. Display all the values entered, 3. Enter bonusCode. 4. Assign the bonus base on the table below(using if statements): bonusCode bonus 'a' for Admin 40.00 'L' for Lecturer 25.00 't' for Technician 10.00 Others 0.00 -> no Bonus 5. Calculate and display netSalary which is the basicSalary plus bonus
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
