Question: Java Please Mr. Seagal has decided to branch out into the fashion industry. His starting lineup is a variety of T-shirts with his face on
Mr. Seagal has decided to branch out into the fashion industry. His starting lineup is a variety of T-shirts with his face on both the front and back watch. He decides to sell the shirts for $12 each; however to encourage people to buy multiple shirts he offers bulk discounts: $10 each if you buy 5-9 shirts, and $8 each if you buy 10 shirts or more 5-9 Less than 5 Cost per shirt: $12 10 or more $8 $10 He requires a Java program that can compute the total cost for a customer based on the number of T-shirts ordered. Of course Mr. Seagal could just write the program himself, but he's too busy figuring out what to buy with all the money hes undoubtedly going to make when his clothing line inevitably becomes a runway hit, so he's offloaded the task to you. Write the definition for the maind method that was a Scanner object to get the number of his from the user and then prints output in a format resembling the examples below. You may assume the appropriate import and class statements have already been written Example 1 if the user inputs 3, the program should output scoot Example 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
