Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package gui.util;
- public class TotalCont {
- private double total=0;
- public String pedirFeijoada(int quant) {
- double total = this.total;
- this.total = total+33.50;
- String a = Double.toString(this.total*quant);
- return a;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement