Question: For this mastery assessment you will create a program for a store that sells custom signs. The store will charge a flat rate for signs

For this mastery assessment you will create a program for a store that sells custom signs. The store will charge a flat rate for signs that have 1 image. If the customer wishes to use more than 1 image, you will charge an additional fee per extra image. Your program will ask the user for the message they want printed on their custom sign. If the message is longer than 10 characters, you will charge them an additional fee per letter over 10. When the program begins ask the user what message they want printed on their sign, the quantity signs they want to order, and the number of images they want to use.

Give your store a unique name. Be sure to print a welcome message along with information on how much you charge per sign, how much you charge per extra letter over 10, and how much your charge for extra images. The program will print out 3 messages. The first will be a receipt for the costs of one sign with one image, the charge for extra letters, the tax amount, and the total due. The second message will a receipt for the costs of multiple signs ordered with one image, the charge for extra letters, the tax amount, and the total due. The third message will be a receipt for the costs of multiple signs ordered with more than one image, the charge for extra letters, the tax charged, and the total amount due.

Create a class that includes private data members to hold the subtotals, tax charged and the total amount due. Additionally you may include any other data members you feel are necessary. It should also contain final constant members for the tax rate, the price for one sign with one image, the rate you charge per extra letter, and the rate you charge per extra image. The class should also contain three overloaded methods (methods that have the same name but different parameters) for printing the receipts.

The first overloaded method receives 1 parameter that represent the message to be printed on the sign. This method will calculate costs of the sign, the charge for extra letters, tax amount, and total due. It will then print a receipt that includes the name of your business, the message to be printed on the sign, the charge for the extra letters, the calculated cost of the sign, the tax charged and the total amount due.

The second overloaded method receives 2 parameters. They represent the message to be printed on the sign and the quantity of signs ordered. Calculate the costs of all the signs, including the charge for extra letters, the tax to be charged, and total amount due. It will then print a receipt that includes the name of your business, the message to be printed on the signs, the charge for extra letters, the calculated costs of the signs, the tax amount, and the total amount due.

The third overloaded method receives 3 parameters. They represent the message to be printed on the sign, the quantity ordered, and the number of additional images to be used. Calculate the costs of the signs ordered, including the charge for extra letters and extra images, the tax and the total due. It will then print a receipt that includes the name of your business, the message to be printed on the signs, the charge for extra letters, the charge for extra images, the calculated costs of the signs, the additional charge for additional images, the tax amount, and the total amount due.

The main() method will ask the user for the message they want printed on their sign, the quantity to be ordered, and the number of images to be used on the signs. Then call all three overloaded methods using this information. You may write the program using the command line or using the JOptionPane.

All currency must be formatted to 2 decimal places and include a $ sign.

Requirements

Student must submit 2 separate class file in the project files. One file will contain the class, the other file will contain the main program.

The program must print a welcome message to the user. Include the name of your business, the price you charge per sign, and the price you charge per extra image.

All calculations must be correct.

All currency must be formatted to 2 decimal places and include a $ sign.

The program must include your own personal comments.

All coding must be your own original work.

You must submit only a zipped Netbeans project for grading.

NO THIS DOES NOT HAVE TO DO WITH INVENTORY PLEASE READ ALL BEFORE RESPONDING!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!