char piramide[ ]={'' ,'' ,'' ,'' ,'' ,'' ,'' , ' ' ,'' ,'' ,'' ,'' ,'' ,' ' , ' ' ,' ' ,'' ,'' ,'' ,' ' ,' ' , ' ' ,' ' ,' ' ,'' ,' ' ,' ' ,' '};
void stampaBoard(){ int resto; for (x=0; x<28; x++){ resto=x%7; if (resto!=0){ printf("%c" ,piramide[x]); } else{ printf("\n%c", piramide[x]); } }}
main(){ stampaBoard();}
Nessun commento:
Posta un commento