Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C# Running this CUNT boxes

Name: Anonymous 2013-03-15 15:49

static void PrintTableBorders (int columns, int rows, int width, int height)
{

 for (int g=1; g <= rows; g++) {

   Console.Write ("+");
   for (int I=1; I <= columns; I++) {

    for (int i=1; i <= width; i++) {
        Console.Write ("-");
    }
    Console.Write ("+");

   }
   Console.WriteLine("");

//works
   for (int I=1; I <= columns; I++) {
    for(int G=1; G<=height; G++) {
        Console.Write("|");
        for (int i=1; i <= width; i++) {
            Console.Write (" ");
        }
                   
    }
    Console.WriteLine("|");
      }
  }
Console.Write ("+");
  for (int I=1; I <= columns; I++) {
               
    for (int i=1; i <= width; i++) {
          Console.Write ("-");
    }
    Console.Write ("+");
    }


}

Name: Anonymous 2013-03-15 21:50

also why the fuck are your brackets on the same line as the for loop? WHY ARE YOU USING BRACKETS ON ONE LINE LOOPS? WHY ARE YOUR ROWS USED LIKE COLOUMNS?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List