Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

All programming assignments are graded according to the following rubric: Submitted pseudocode showing logic steps to perform required task(s) ( 1 pt) Submitted java File

All programming assignments are graded according to the following rubric:

  1. Submitted pseudocode showing logic steps to perform required task(s) ( 1 pt)
  2. Submitted java File (1 pt)
  3. Submitted .class File (1 pt)
  4. Submitted Screenshot of properly coded and presented output (and input if required) (1pt) Your program should print your name and the course section information at the beginning of the output.
  5. Properly working code applying techniques learned in weekly lesson (1pt)

Write a program that reads the subtotal and the gratuity rate for a service. Compute the gratuity and the total. For example, if the user enters 10 for the subtotal and 15% as the gratuity rate, the program displays $1.5 as the gratuity and $11.5 as total. Your program should output the subtotal entered, the gratuity rate, the gratuity amount and the total amount due.

You should submit your .java file, .class file and your screenshot showing your output.

Your output should be formatted in such a way that it makes sense for what a user would want to see. Remember to output a description of what you are showing the user - not just values on a screen.

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

Modern Database Management

Authors: Fred R. McFadden, Jeffrey Slater, Mary B. Prescott

5th Edition

0805360549, 978-0805360547

More Books

Students also viewed these Databases questions

Question

=+CASE 2. Sr. By the second part of (7.30), A(r,s) =qA(2r-1,2s-1)0.

Answered: 1 week ago