public double minus(Ounces ounces, double amount) { ounces.Amount = ounces.Amount - amount; return(ounces.Amount); }
public double convertToGram(Ounces O) { return(O.Amount * 28.3495231); }
//Create a superClass for the following methods public double plus(Ounces ounces, double amount) { ounces.Amount = ounces.Amount + amount; return(ounces.Amount); }