Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You will create 3 classes and a main program that asks the user to enter the required information. Sales tax and total charges should be

You will create 3 classes and a main program that asks the user to enter the required information. Sales tax and total charges should be calculated in separate methods inside of the appropriate class. Be sure to include comments describing what the code is doing. When completed, compress the folder containing all of the files associated with the program.
Problem Description
A dog groomer at Merlins Pet Grooming has asked you to create a program for her office to create invoices for her customers visits. When a customer brings their pet in for grooming, the clerk gets the Customers name, address, phone number and email address. The pets name, the type of pet, and the age of the pet are also collected. After the pet has been groomed, the clerk will determine the charges for the services, and print an invoice for the customer. The invoice should neatly display the Customers name, address, phone and email address. The invoice should also display the pets name, type and age. The charges, tax, and total should also be displayed. All calculations should take place in the class methods. All display should use method calls to get the methods from the classes to display the appropriate information. Do not accept any numbers that are less than or equal to zero. Calculate the sales tax using a constant equal to 0.0975 and limit the display to two decimal places.

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

Databases In Networked Information Systems 6th International Workshop Dnis 2010 Aizu Wakamatsu Japan March 2010 Proceedings Lncs 5999

Authors: Shinji Kikuchi ,Shelly Sachdeva ,Subhash Bhalla

2010th Edition

3642120377, 978-3642120374

Students also viewed these Databases questions

Question

List various functions and activities of HRM.

Answered: 1 week ago

Question

1. Explain how technology has changed the learning environment.

Answered: 1 week ago