Question
Write a program that determines each persons share of an equally split tab. Using descriptive prompts, the program should request from the end user the
Write a program that determines each persons share of an equally split tab. Using descriptive prompts, the program should request from the end user the tab total, the percentage tip to add, and the number of people splitting the tab. The program should calculate and display the total with tip and the total for each person using a descriptive display. You may assume that only numeric input will be supplied by the end user. The results will not be formatted
output would look like exsample
1.enter the total from the tab 50
2.what percentage ti do you want to add 20
3.how many people are splitting the tab 5
4.the total with tip is $60.0
5.each person owes $12.0
can you write this in java?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started