subject

You are a developer asked to build a small application to split a bill and calculate tips. this application takes 2 inputs from the user for the billamount and nosofdiners based on these values it calculates the tip for values for 15%, 18% and 20% tip and then generates the totalbillamount for each of those tip percentages. subsequently the application presents the amount owed by each of the diners based on the totalbillamount and nosofdiners. create a new java class billcalcwork within the main method of this class and accomplish the following: a. declare 2 variables to take inputs from the user. these variables should be named a. billamount b. nosofdinersb. take the 2 inputs from the user and store them in the above variablesc. present the user with a calculation of 15%, 18% and 20% tip based on the billamount. also present them with totalbillamount based on those percentages (i. e. add the tip to the billamount)d. present the amount owed by each diner for each of the totalbillamounts. present this information in a meaningful way based on the results from zybooks tester. remember not to hardcode the values for tips and bill but rather calculate them. once you are done coding in eclipse, copy and paste the code in the zybooks zylabs environment to see if the code provides the right output. sample output (values may vary based on inputs)enter bill amount : 90enter number of diners : consider the following tips: 15 % : 13.5 | total bill: 103.518 % : 16.2 | total bill: 106.220 % : 18.0 | total bill: 108.0amount due from each diner based on tip percentage: tip amount 15% : 11.5 duetip amount 18% : 11.8 duetip amount 20% : 12.0 due

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Where would you click to edit the chart data?
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 2
question
Computers and Technology, 24.06.2019 20:00
Write c++programs for the following problem: let the user enter two numbers and display which is greater. !
Answers: 1
question
Computers and Technology, 25.06.2019 03:30
Which task should happen during the planning stage of a project
Answers: 2
You know the right answer?
You are a developer asked to build a small application to split a bill and calculate tips. this appl...
Questions
question
Chemistry, 04.09.2020 01:01
question
English, 04.09.2020 01:01
question
Computers and Technology, 04.09.2020 01:01
question
Computers and Technology, 04.09.2020 01:01
question
Social Studies, 04.09.2020 01:01
Questions on the website: 13722363