import java.util.*; public class EnvioP { public static void main(String[] args) { int n=100; float p=0.1f; Locale.setDefault(Locale.ENGLISH); try { if (args.length>0) { n=Integer.parseInt(args[0]); } if (args.length>1) { p=Float.parseFloat(args[1]); } } catch (NumberFormatException e) { // sin mucho control de errores } //System.out.printf("n=%d\n",n); for (int i=0 ; i