package lt.bit.sandelis; import java.io.File; import java.util.Locale; import java.util.Scanner; public class Vykdymas { public static Preke[] loadFile(){ try { Scanner in = new Scanner(new File("sandelis.txt")); in.useLocale(Locale.US); int n=in.nextInt(); Preke[] sandelis=new Preke[n]; for (int i=0; i