you’re not looking for an if
statement are you?
if(error.Colour() == /*insert value to check here*/)
{
calculate.setKey(key);
calculate.setQuantity(QuantityInt);
double cost = calculate.calculateBill();
information.append("\n\nTotal cost: £" + pounds.format(cost));
}
5
solved java, “do this if passes then do this” [closed]