Question: Question: Write the Java program for the given pseudocode. Using exactly 1 integer constant, 1 integer variable, 3 double variables, and 1 Scanner variable make

Question: Write the Java program for the given pseudocode. Using exactly 1 integer constant, 1 integer variable, 3 double variables, and 1 Scanner variable make sure to fulfill the following points: 1. Declare 1 constant integer called PAYCHECKS and set it to 26. 2. Declare 1 double variable called taxRate. 3. Declare 1 integer variable called salary. 4. Declare 1 double variable called biweekly. 5. Declare 1 double variable called tax. 6. Declare 1 Scanner variable that will record keyboard inputs. 7. Prompt the user through the console for user's annual salary and the tax rate, and store the user's inputs in the variables taxRate and salary (use the same format and wording as the sample figure below). 8. Record the tax as the result of salary * taxRate. 9. Record the biweekly paycheck as the result of salary * (1 taxRate) / PAYCHECKS. 10. Output in the console a blank line followed by the message Your biweekly paycheck is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
