Closed FabioZTessitore closed 7 years ago
va bene
professore sul mio computer mi stampa solo la tabellina dell'uno
così gli hai detto di fare. Prova a stampare i valori di i
e j
e vedi cosa esce
l'ho fatto e i rimane uguale a 1 e j = 1 2 3 4 5 6 7 8 9 10
Stampa i nel ciclo esterno e j in quello interno
Il 30 mag 2017 4:48 PM, "christian99salerno" notifications@github.com ha scritto:
l'ho fatto e i rimane uguale a 1 e j = 1 2 3 4 5 6 7 8 9 10
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/christian99salerno/iterazione_c/issues/1#issuecomment-304902384, or mute the thread https://github.com/notifications/unsubscribe-auth/AC3PUiFhEgkHg1vSP1dWEIXha4Gp3XQNks5r_CxCgaJpZM4NqV2O .
entrambe vanno da 1 a 11
Ma non è vero. Se fosse così stamperebbe tutte le tabelline
Il 30 mag 2017 4:51 PM, "christian99salerno" notifications@github.com ha scritto:
entrambe vanno da 1 a 11
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/christian99salerno/iterazione_c/issues/1#issuecomment-304903407, or mute the thread https://github.com/notifications/unsubscribe-auth/AC3PUpnHvjvabkL24RxZU7aLbG455y4Yks5r_CzygaJpZM4NqV2O .
questo mi è uscito
e a scuola stampava bene
controllate email ci dovrebbero essere due foto
Se nelle stampe non scrivi chi stai stampando, come fai a sapere chi è i e chi è j?
Il 30 mag 2017 5:00 PM, "christian99salerno" notifications@github.com ha scritto:
controllate email ci dovrebbero essere due foto
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/christian99salerno/iterazione_c/issues/1#issuecomment-304906424, or mute the thread https://github.com/notifications/unsubscribe-auth/AC3PUsliwCzLuhls9Uo7yjMa-mTnNuQDks5r_C8ZgaJpZM4NqV2O .
j:1 j:2 j:3 j:4 j:5 j:6 j:7 j:8 j:9 j:10 i:1 i:2 i:3 i:4 i:5 i:6 i:7 i:8 i:9 i:10
Lo vedi?
Il 30 mag 2017 5:03 PM, "christian99salerno" notifications@github.com ha scritto:
j:1 j:2 j:3 j:4 j:5 j:6 j:7 j:8 j:9 j:10 i:1 i:2 i:3 i:4 i:5 i:6 i:7 i:8 i:9 i:10
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/christian99salerno/iterazione_c/issues/1#issuecomment-304907418, or mute the thread https://github.com/notifications/unsubscribe-auth/AC3PUqO9WKTLUES2AyVH29DqxOCEZCpBks5r_C_SgaJpZM4NqV2O .
cosa ? stampano da 1 a 10
e si trova non dovrebbero fare così
Prova ad immaginare come dovrebbero uscire quei numeri
Il 30 mag 2017 5:05 PM, "christian99salerno" notifications@github.com ha scritto:
e si trova non dovrebbero fare così
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/christian99salerno/iterazione_c/issues/1#issuecomment-304907952, or mute the thread https://github.com/notifications/unsubscribe-auth/AC3PUi9USC050tj7gT_pMa94AJ6w9aykks5r_DAzgaJpZM4NqV2O .
11=1 .... 110= 10 2.. 3.. 4.. 5... 6... 7.. 8... 9.. 10.. 10*10=100
Si, ma i e j non vengono così. Cosa manca?
Il 30 mag 2017 5:13 PM, "christian99salerno" notifications@github.com ha scritto:
11=1 .... 110= 10 2.. 3.. 4.. 5... 6... 7.. 8... 9.. 10.. 10*10=100
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/christian99salerno/iterazione_c/issues/1#issuecomment-304910478, or mute the thread https://github.com/notifications/unsubscribe-auth/AC3PUua6z-UEefGKFjHOo9Lo9zZAUwrOks5r_DIPgaJpZM4NqV2O .
i deve rimanere ferma fino a quando j non arriva a 10 e poi i va al valore successivo e così anche per il valore che assume deve essere fermo fino a che j non ritorna a 10 fino a che i non ritorna a 10
aaa ho capito j quando arriva a 10 dopo deve ritornare a 1
Però non succede, quale parte manca?
Il 30 mag 2017 5:18 PM, "christian99salerno" notifications@github.com ha scritto:
i deve rimanere ferma fino a quando j non arriva a 10 e poi i va al valore successivo e così anche per il valore che assume deve essere fermo fino a che j non ritorna a 10 fino a che i non ritorna a 10
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/christian99salerno/iterazione_c/issues/1#issuecomment-304912137, or mute the thread https://github.com/notifications/unsubscribe-auth/AC3PUor5gAJJJIz3dRbHtX09CLHYNQtcks5r_DNRgaJpZM4NqV2O .
while (i<=10){ j=1; while ...
Ok
Il 30 mag 2017 5:19 PM, "Fabio Z Tessitore" fabioztessitore@gmail.com ha scritto:
Però non succede, quale parte manca?
Il 30 mag 2017 5:18 PM, "christian99salerno" notifications@github.com ha scritto:
i deve rimanere ferma fino a quando j non arriva a 10 e poi i va al valore successivo e così anche per il valore che assume deve essere fermo fino a che j non ritorna a 10 fino a che i non ritorna a 10
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/christian99salerno/iterazione_c/issues/1#issuecomment-304912137, or mute the thread https://github.com/notifications/unsubscribe-auth/AC3PUor5gAJJJIz3dRbHtX09CLHYNQtcks5r_DNRgaJpZM4NqV2O .
era questo che mancava e basta giusto?
la definizione delle variabili ... va fatta all'inizio, non nei cicli