#include #include using namespace std; int main(int argc, char *argv[]) { for(int i=0;i<12;i++){ for(int j=0;j<10;j++){ if (i==0 || i==9 || j==0 || j==9 || i==j || i+j==9) cout << "*"; else cout << " " ; //if(i==5 && j==5) // cout << "*"; } cout << endl; } system("PAUSE"); return EXIT_SUCCESS; } http://forum.fedora.pl/index.php?showtopic=12934