/** * Created by Vectorq on 25.04.2017. */ public class Produkt { private String nazwa; private int ilosc; private double kalorie; private double bialko; private double wegle; private double tluszcze; private List Produkty = new ArrayList<>; public void Dodaj(string n, int i, double k, double b, double w, double t) { this.n=nazwa; this.i=ilosc; this.k=kalorie; this.b=bialko; this.w=wegle; this.t=tluszcze; Produkty.add(n,i,k,b,w,t); } public String Wyƛwietl(string n, int i, double k, double b, double w, double t) { this.n=nazwa; this.i=ilosc; this.k=kalorie; this.b=bialko; this.w=wegle; this.t=tluszcze; for(int i = 0; i