please write a pseudocode of JAVA which contains \"if-else\" statement. Writing
ID: 3648408 • Letter: P
Question
please write a pseudocode of JAVA which contains "if-else" statement.
Writing a Java program that contains if-else statements. Compiling and executing a Java program. Employees at the WonderCookie company earn the basic hourly wage of $8.25. They also receive 1.5 times their hourly wage if they work overtime (i.e., more than 40 hours a week). Furthermore, the employees earn a commission based on the sales they generate while working at the counter. The commission of an employee at the WonderCookie company is calculated using the following table: Write a Java program that inputs (1) the number of hours and (2) the sales they generated to compute the weekly wages of an employee in the WonderCookie company A sample I/O of your program could be the following:Explanation / Answer
DISPLAY "Please Enter Total Number of Hours:" READ total number of hours DISPLAY "Please Enter Total Amount in Sales:" Read total amount in sales IF total amount in sales>1.00 && total amount in sales 299.00 && total number of hours 299.00 && total number of hours > 40 COMPUTE commission as total amount in sales * 0.08 ELSE SET commission to 0 COMPUTE total wage as commission + 8.25*total number of hours DISPLAY "Total Wage Is" + commission Hope this helps! :) Let me know if you have any questions!Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.