Documentos de Académico
Documentos de Profesional
Documentos de Cultura
int c = Integer.parseInt(capacidad.getText());
int n = Integer.parseInt(cantidad.getText());
int volumen[]=new int[n];
// Se obtiene todo los peso[i]
for (int i = 0; i < n; i++) {
volumen[i] = Integer.parseInt(valor.getValueAt(i, 1).toString());
}
int Matriz[][]=new int[n][n+2]; c= Capacidad de la caja.