Question: java question: cases 5. Problem 5 saved Changes 5.00333333333333 points possible Reset to Starter Code Costs for Chocolate Item Price: $20.00 Shipping Fee: $2.50 Total



![5 ShoppingOrders.java public class ShoppingOrders public static vold main(String[] args) { WA](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3131e9d1d5_17466f3131e3a693.jpg)


5. Problem 5 saved Changes 5.00333333333333 points possible Reset to Starter Code Costs for Chocolate Item Price: $20.00 Shipping Fee: $2.50 Total Cost: $22.se Use two places after the decimal point when displaying the costs. Some Nume New Grading * Full Screen 2 3 4 5 ShoppingOrders.java public class ShoppingOrders public static vold main(String[] args) { WA TODO: Write your program here. } Test Case 1 1 0/0.833pts. Click for details FAILED 7} 8 Test Case 2 0/0.833 pick for details FAILED Test Case 4 0/0833 pts - Click for details FAILED Test Cases 0 / 0833p-Click for detail FAILED Test Case 6 0/157 Click for detaile FAILED INPUT OF THE TEST CASE 1 Gummy Bears 2 3.95 3 0.2 YOUR CODES OUTPUT 1 Error: Could not find or load main class ShoppingOrders THE CORRECT OUTPUT OF THE TEST CASE 1 Costs for Gummy Bears 2 Item Price: $3.95 3 Shipping Fee: 50.79 4 Total Cost: $4.74 5 INPUT OF THE TEST CASE 1 Posters 2 40.344352 3 34.5 YOUR CODE'S OUTPUT 1 Error: Could not find or load main class ShoppingOrders THE CORRECT OUTPUT OF THE TEST CASE costs for Posters 2 Item Price: $40.34 Shipping Fee: $1391.88 4 Total Cost: $1432.22 UNIX DIFF OF CORRECT OUTPUT AND YOUR OUTPUT 101,4 Costs for Posters > Item Price: $40.34 > Shipping Fee: $1391.88 > Total Cost: $1432.22 INPUT OF THE TEST CASE 1 Posters 2 -40.344352 3 -0.1 YOUR CODE'S OUTPUT 1 Error: Could not find or load main class ShoppingOrders THE CORRECT OUTPUT OF THE TEST CASE Costs for Posters Item Price: 5-40.34 Shipping Fee: $4.03 * Total Cost: S-36.31 INPUT OF THE TEST CASE 1 Posters 2 40.344352 3 34.5 YOUR CODE'S OUTPUT 1 Error: Could not find or load main class ShoppingOrders THE CORRECT OUTPUT OF THE TEST CASE costs for Posters 2 Item Price: $40.34 Shipping Fee: $1391.88 4 Total Cost: $1432.22 UNIX DIFF OF CORRECT OUTPUT AND YOUR OUTPUT 101,4 Costs for Posters > Item Price: $40.34 > Shipping Fee: $1391.88 > Total Cost: $1432.22 INPUT OF THE TEST CASE 1 Posters 2 40.344352 3 -0.1 YOUR CODES OUTPUT 1 Error: Could not find or load main class ShoppingOrders THE CORRECT OUTPUT OF THE TEST CASE 1 costs for Posters 2 Item Price: $40.34 3 Shipping Fee: $-4.03 4 Total Cost: $36.31 5 UNIX DIFF OF CORRECT OUTPUT AND YOUR OUTPUT INPUT OF THE TEST CASE 1 Posters 2 -40.344352 3 -0.1 YOUR CODE'S OUTPUT 1 Error: Could not find or load main class ShoppingOrders THE CORRECT OUTPUT OF THE TEST CASE Costs for Posters Item Price: 5-40.34 Shipping Fee: $4.03 * Total Cost: S-36.31
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
