Wednesday, 19 October 2011

page 94 #9

  #include<stdio.h>
  #include<conio.h>
     #define PONG printf
     #define LORO scanf
    
     int x, y;
     int main()
     {
         for (x = 1; x<10;x++)
         {
             for(y=1;y<x;y++)
             PONG("*");
             PONG("\n",x);
             }
             getch();
             return 0;
             }
      

0 comments:

Post a Comment