Philosophy homework help

Philosophy homework help. Write a complete Java program to:Read in a set of shipments (using Scanner and a while loop), print each one out, and print a count of accepted shipments and total weight and total volume.The loop must quit when a shipment number of -1 is read.Shipment fields are shipment number (int) , weight (double) and volume (double).Reject and print each rejected shipment along with an error message if weight is negative or zero or greater than 70 pounds, or if volume is negative or zero or greater than 1000 cubic inches.

Philosophy homework help

Posted in Uncategorized