[Esercizio]Help: moltiplicazione
Posted by Mifune on 11-11-2003 16:56
raga ho un problema con esercizio somma:

...
int cont=0,somma;
int a=in.readInt ("Inserisci un valore per a> ");
int b=in.readInt ("Inserisci un valore per b> ");
do {
somma=(a+a);
cont=cont +1;
}
while (cont==b);
out.println(somma);
}
}

dove sbaglio!!! non mi considera il while!!!
Powered by: vbHome (lite) v3.8 and vBulletin v2.3.1
Copyright © 2000 - 2002 Jelsoft Enterprises Limited