Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Revel Project 1 ( Chapters 1 - 6 ) : Tip Calculator Programming Instructions Create a Java Project named YourName _ TipCalculator that calculates three

Revel Project 1(Chapters 1-6): Tip Calculator Programming Instructions
Create a Java Project named YourName_TipCalculator that calculates three options for an
appropriate tip to leave after a meal at a restaurant. Create a class named
YourInitials_TipApp All variable names must begin with your initials: (Example:
(psChoice)) or the highest grade on the project will be 50.
1. Make comments including your name, date, and project name on line 1, remove any
unnecessary comments created by the program.
Create appropriate programming comments throughout your document that include the
step number. _____10 pts.
2. Create code to print title, create Scanner object, and
declare continue choice variable to decide if user wants to continue. _____10 pts.
3. Create a while statement that makes the application continue only
if the user enters y._____10 pts.
4. Create code that will get the cost input from user _____10 pts.
5. Create a for loop that will calculate the tip starting at 15%, stop at 25%,
and increment by 5%._____10 pts.
6. Create code to calculate tip and total. _____10 pts.
7. Create code that will format numbers for percentages and currency _____10 pts.
8. Create code to display tips and totals. _____10 pts.
9. Create and call a method named your initials_PrintDottedLine which has no parameters
and doesnt return anything. The method will print a single line of periods._____20 pts.

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

Beginning PostgreSQL On The Cloud Simplifying Database As A Service On Cloud Platforms

Authors: Baji Shaik ,Avinash Vallarapu

1st Edition

1484234464, 978-1484234464

More Books

Students also viewed these Databases questions

Question

What is Accounting?

Answered: 1 week ago