.dsy:it. Pages (2): « 1 [2]
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Fondamenti di architettura e programmazione (http://www.dsy.it/forum/forumdisplay.php?forumid=234)
-- [Esercizio]Help: moltiplicazione (http://www.dsy.it/forum/showthread.php?threadid=6813)


Posted by ska_Gio on 15-11-2003 11:43:

che sbattimenti il programmino è da fare anche con i fattori negativi!!?????

__________________
giO


Posted by supernova on 15-11-2003 15:49:

Zio va fatto anche con i negativi, quando l'avevo fatto ero in dubbio e ho mandato un'email al tutor e mi ha detto di farlo anche con i negativi. Basta che fai così :
if (secondo<0)
for(int i=0; i>secondo; i--)
somma-=primo;

Ciauz

__________________
" So I Start The Revolution From My Bed ". Noel Gallagher


All times are GMT. The time now is 08:18. Pages (2): « 1 [2]
Show all 17 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.