Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design: You will need to use the following class for your program: TShirtOrder class It should include the following in the main method: Constants o

Design:

You will need to use the following class for your program: TShirtOrder class

It should include the following in the main method:

Constants o Use constants for the sales tax rate (currently %10), the shipping cost of %5, and the shirt price

. Variables o Three variables to keep track of how many shirts are ordered for each type o One variable to keep track of the number of characters to be printed. This variable only counts printed characters. Spaces are not counted. o Variables for first and last names, street address, city, state, and zip code.

Scanner to read the input

Statements to display the menu to the user similar to the above sample run.

Prompts for the user to display output similar to the above sample run.

Calculations for the subtotal, tax, shipping and total.

Statements to display the order summary similar to the above sample run.

Loops and conditions to perform the required operations in the most efficient way.

Author's Note: If the program could look as close as possible as the sample run on the right and include explanations it would greatly be appreciated! Please any expert out here I need your help ASAP thank you!

image text in transcribed

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

More Books

Students also viewed these Databases questions