Question: Design and create a complete, correct Java program for the following: 1. StickySyrup.java The Sticky Syrup Company wants to know the weight of its delivery
Design and create a complete, correct Java program for the following: 1. StickySyrup.java The Sticky Syrup Company wants to know the weight of its delivery trailers when they leave the loading dock and the value of the syrup on the truck. (10 points) The Sticky Syrup Company delivers three types of syrup at the following costs: Molasses: $25.90/gallon Maple syrup: $75.99/gallon Honey : $20.48/gallon The weight of each gallon of syrup: Molasses : 11.46 pounds Maple syrup : 11 pounds Honey : 12 pounds Your program will request the number of gallons of each type of syrup on the trailer, calculate the value of each type of syrup, the total value of all syrup, the weight of each type of syrup and the total weight of the trailer. The trailer itself weighs 7,540 pounds. Syrup is packaged in whole gallons. Your program will utilize an external class to store the constants provided above, put these in your Utilities class. Your utilities class will also provide the mechanism for input from the user
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
