Contact Learn C
Copy

Program 38: Right angle Pattern 2

Program 38:
 
#include<stdio.h>
main()
{
  int i,j,num;
  printf("Enter number of rows\n");
  scanf("%d",&num);
  for(i=1;i<=num;i++)
  {
    for(j=1;j<=i;j++)
    {
      printf("%d",i);
    }
    printf("\n");
  }
}
Explanation:

  //Pending  

Output:

Right angle Pattern 2

1 comment:

  1. Sincerely very satisfied to say,your submit is very exciting to examine. I never stop myself to mention some thing about it. You’re doing a remarkable process. Hold it up Thor Vest

    ReplyDelete

Donate

Download App and Learn when ever you want

Get it on PlayStore
Get it on Amazon App Store
Get it on Aptoide