|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#21 |
|
Member
Iscritto dal: Apr 2001
Città: pavia
Messaggi: 49
|
#include <stdio.h>
main() { int x, i; for (x=1; x<=6; x=x+1) { for (i=1; i<=x; i++) { printf("*"); } printf("\n"); } getch(); return 0; } io l'avrei fatto cosi',dovendo usare i 2 cicli Ciao
__________________
We can learn from the past, But those days are gone We can hope for the future, But there might not be one (A change of seasons - DreamTheater) |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 16:17.



















