Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions