Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I Have A Project And Its Java Programming I Need Menu Driven Systems Part C Completed. Here Are The Other Parts Of The Project If

I Have A Project And Its Java Programming I Need Menu Driven Systems Part C Completed. Here Are The Other Parts Of The Project If There Is Any Confusion.
I Need Comments Within The Project And Psuedocode At The Top Header Of The Project Please Help!!. image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
CSCI 140/L Java Project: Menu-Driven System Part A Write a menu-driven program that will give the user the three choices: 1) Wage calculator, 2) Tip Calculator, and 3) Exit. Class Name: PartA For the wage calculator, prompt for the name and salary of an employee. Here the salary will denote an hourly wage, such as $9.25. Then ask how many hours the employee worked in the past week. Be sure to accept fractional 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 employee's name, hours worked, overtime hours worked (do not show overtime hours, if there are none), regular hours pay, overtime hours pay (do not show overtime pay if there is none), and total pay For the tip calculator, the tip is calculated based on the diner's satisfaction level. Ask for the diner's satisfaction level using these ratings: 1-Totally satisfied, 2-Satisfied, 3-Dissatisfied. If the diner's choice is 1, calculate a 20 percent tip. If the diner's choice is 2, calculate a 15 percent tip. If the diner's choice is 3, calculate a 10 percent tip. Print the satisfaction level and tip in dollars and cents 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). All output should be properly formatted and user friendly. Once complete, you will submit your java file using the programPartA link in Moodle. See the next page for an example program execution

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security XI Status And Prospects

Authors: T.Y. Lin, Shelly Qian

1st Edition

0412820900, 978-0412820908

More Books

Students also viewed these Databases questions

Question

=+you think is being taxed when more money is printed? Why?

Answered: 1 week ago