subject
Physics, 14.02.2020 16:46 sharonsmailbagot6uas

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.

As with the other program, 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 you as a user would want to see. Remember to Output what a description of what you are showing the user - not just values on a screen

ansver
Answers: 3

Another question on Physics

question
Physics, 21.06.2019 22:00
Atank holds 1000 gallons of water, which drains from the bottom of the tank in half an hour. the values in the table show the volume v of water remaining in the tank (in gallons) after t minutes.t(min) 5 10 15 20 25 30v(gal) 694 444 250 111 28 0(a) if p is the point (15, 250) on the graph of v, find the slopes of the secant lines pq when q is the point on the graph with t = 5, 10, 20, 25, and 30.(b) estimate the slope of the tangent line at p by averaging the slopes of two secant lines.(c) use a graph of the function to estimate the slope of the tangent line at p. (this slope represents the rate at which the water is flowing from the tank after 15 minutes.)show all steps.
Answers: 2
question
Physics, 22.06.2019 21:00
If the specific heat of a metal is 0.850 j/g °c, what is its atomic weight?
Answers: 2
question
Physics, 22.06.2019 22:10
Astep up transformer has 250 turns on its primary and 500 turns on it secondary. when the primary is connected to a 200 v and the secondary is connected to a floodlight that draws 5a, what is the power output? show all of your work.
Answers: 1
question
Physics, 23.06.2019 03:30
An object is kept at 45 m high and how much time will it take to reach the ground
Answers: 2
You know the right answer?
Write a program that reads the subtotal and the gratuity rate for a service. Compute the gratuity an...
Questions
question
Mathematics, 06.06.2020 18:58
question
Mathematics, 06.06.2020 18:58
Questions on the website: 13722361