Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  abc.c
Language: C/C++
Code:
include<stdio.h>
void main()
{
     int i,j, row=5;
     for(i=1;i<=row;i++)
     {
          for(j=1;j=2*i+1;j++)
          {
               if(i%2==0)
               printf("*");
               else
               printf("%d",j);
          }
          printf("\n");
     }
}
          
Comments: