Posts by Dereck Mayrink • 26 points
1 post
-
1
votes1
answer64
viewsA: How to calculate item price from random quantity of items sold?
public double precoHamb (){ double preco= vendaHamb()*78.00; return preco; } Try changing this snippet of code to: public double precoHamb (){ double preco= hamb * 78.00; return preco; } Otherwise…