Tuesday, 6 October 2015

WAP to print the following series

#include<stdio.h>
#include<conio.h>
void main()
{int a,b,c;
     for(a=1;a<=5;a++)
      {for(b=1;b<=a;b++)
      printf("*");
      printf("\n");
      }
      getch();
      }



No comments:

Post a Comment