Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Java program to compute the income after tax of an employee based on the following rule of tax rate. Assuming the salary is
- Write a Java program to compute the income after tax of an employee based on the following rule of tax rate. Assuming the salary is $22000, display the tax and the income after tax.
- 12% if salary 25,000
- 5% if salary < 10,000
- Otherwise 8% will be applied
- Write a Java program to compute and display the sum of the numbers that can be both divisible by 6 and 8 from 1 to 500.
- Suppose there is a list of 15 integers: 38, 15, 29, 148, 72, 64, 116, 99, 284, 223, 117, 202, 63, 114, 96. Write a program that can i) display the even integers in ascending order and display their sum; ii) display the odd integers in ascending order and display their sum. (Hint: Use Arrays class to sort array items)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started