Question: java language 12. Write a program that reads the subtotal and the bonus rate, then computes the bonus and total. For example, if the user
java language12. Write a program that reads the subtotal and the bonus rate, then computes the bonus and total. For example, if the user enters 10 for subtotal and 15% for bonus rate, the program displays $1.5 as bonus and $11.5 as total. 13. If you know the balance and the annual percentage interest rate, you can compute the interest on the next monthly payment using the following formula: Interest = balance * (annualInterest Rate /1200) Write a program that reads the balance and the annual interest rate and displays the interest rate for the next month. For example, if the user enters 1000 for balance and 3.5 for interest rate, the output is: The interest is: 2.91667 14. Write a program that asks the user to enter an employee's number of hours worked per month, hourly pay rate (ex. 6.75), tax rate (15%), the computes the net salary to be paid. 15. The Body Mass Index (BMI) is a measure of health on weight. It is calculated by taking your weight in kilograms and dividing by the square of your height in meters. Write a program that asks the user to enter a weight in pound and height in inches and display the BMI. 1 pound -0.454 * kilograms 1 inch -0.0254 meters 16. Write a program that calculates the energy needed to heat water from an initial temperature to a final temperature. Your program should prompt the user to enter the amount of water in kilograms and the initial and final temperatures of the water. The formula to compute the energy is: Energy - amount of water * (final temp - initial temp) * 4.184 17. Given an airplane's acceleration a and take-off speed y, you can compute the minimum runway length needed for an airplane to take off using the following formula: length -v/2a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
