All pastes #391830 Raw Edit

Mine

public text v1 · immutable
·published 2007-03-12 13:01 UTC
rendered paste body
#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    for(int i=0;i<10;i++){
              for(int j=0;j<10;j++){
                      if (i==0 || i==9 || j==0 || j==9 || i==j || i+j==9 || (i>5) && (i>=j)-(i+j<9))
                       cout << "*";
                       else cout << " " ; 
                       
                       //if(i==5 && j==5)
                         //      cout << "*";
                               
                       
                       }
              cout << endl;   
                         }
            
    system("PAUSE");
    return EXIT_SUCCESS;
}