- 02 Write A Java Program That Reads An Employee Name And His Salary And Then Calculates The Tax And Net Salary If The S 1 (35.65 KiB) Viewed 23 times
02. Write a Java Program that reads an employee name and his salary, and then calculates the Tax and Net Salary If the s
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
02. Write a Java Program that reads an employee name and his salary, and then calculates the Tax and Net Salary If the s
statement Hints Vowel Characters are: (a, e, i, o, u) or (A, E, I, O, U)
02. Write a Java Program that reads an employee name and his salary, and then calculates the Tax and Net Salary If the salary >= 500 then tax = 10% If salary between 400 and 500 then the tax is 5% If the salary <= 400 then then tax = 0% Hints: Tax = tax * salary Net Salary = salary - Tax An example for the output screen: Mr. (employee name) Salary. Tax 1000 100 Net salary 900 Q3. Write a Java Program allow the user to entered Character (read it during run time of program) Then test the Characters is vowel or not by using: Switch