public static void cargarAirline(int [] aero){ BufferedReader dataIn =
new BufferedReader(new InputStreamReader(System.in)); for (int
i=0;i<aero.length;i++){ System.out.println("ORIGEM"+Cities[i]);
for (int j=0;j<aero.length;j++){
System.out.println("DESTINO"+Cities[i] + "Nro de vuelo :"); int
b=Integer.parseInt(dataIn.readLine()); i
aero[i][j]=b; //message error : array required, but int found }
} } i dont know how save a value into a array, could you help me? please
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---