Question: I Need Help With This Project Quickly Also I Need The Psuedocode And Comments Can I Please Get Help Solving This Im Really On The
CSCI 140/L Java Project: Menu-Driven System Part B Adding loops and methods to our Part A menu-driven program that will give the user the three choices: 1) Wage calculator, 2) Tip Calculator, and 3) Exit. Class Name: PartB Modification: The program will loop on the menu (allow user to continue to choose option 1 and option 2) until the user chooses option 3. You will also implement the use of methods/functions for options 1 (wage calculator) and 2 (tip calculator). In addition to using a function for the options, you will use a function for calculating the wages and return the value to the option function before continuing (name this function cale_wages). For the wage calculator, prompt for the user's name and salary of an employee. Here the salary will denote an hourly wage, such as S9.25 (only an example). Then ask how many hours the employee worked in the past week. Be sure to accept fractional hours. CHANGE: The user can ONLY enter a maximum of 40 hours for regular pay. If the user has worked more than 40 hours, ask for the number of overtime hours. Compute the pay. Any overtime work (over 40 hours per week) is paid at 150 percent of the regular wage (1.5 the overtime pay). Print the user's name, hours worked, overtime hours worked (do not show overtime, if there is none), regular hours pay, overtime hours pay (do not show overtime pay if there is For the tip calculator, the tip is calculated based on the diner's satisfaction level. The main function from part A shows the tip amount and satisfaction level. CHANGE: Also, print the diner's final total with the tip included (formatted, also in dollars and cents). none), and total pay No Changes: The exit choice will display a statement that the program will end and thank the user for using the program. Your program should be complete and with correct convention and commenting. The obtain 50 of 100 points, your program must compile and run. You will obtain 30 points if your program runs correctly You will obtain 20 points for all other convention and commenting (this includes file and class naming convention). See rubric for dctails on grading. Once complete, you will submit your java file using the semester program Part B link in Moodle. Compile/Begin Execution Full Logic Execution (30 pts) Convention (20 pts) 50 points Incorrect output (-5) File naming/class (-5) Variable naming (-5) Proper Commenting (-5) Pscudocode (-5) (with all required codeIncorrect prompts (-5) 10 if requirements are Calculations (-5) missing or additionRun-time crror (-5) beyond required concepts)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
