Please help with this code and why I am not getting the outputbeing asked. Usually I am off by a small amount but this time Itsmuch bigger. This is the code:
package project7;
import java.util.Scanner;
class Shipment {
private double _weight = 0.0;
public double weight() {
return _weight;
}
public static double inFeet(int feet, double inches) {
// Return feet and inches in to feet and fractions of afoot.
// For example 5 feet 6 inches returns 5.5 from here.
// Note inches is a double. This is to support 0 feet 3/4 of aninch.
// Return the feet plus the inches divided by 12 here.
double inchesToFeet = inches / 12;
return
PayPal Gateway not configured
PayPal Gateway not configured