patternprogram_70 softethics

Pattern 70

C

#include<stdio.h>

int main()
{
  int i,j;

  for(i=1; i<=5; i++)
  {
    for(j=5; j>=i; j--)
    {
      printf("*");//put any character
    }
    printf("\n");
  }
  return 0;
}

C++

Java

C#

Python

Tutorial (YouTube)

5 1 vote
Rate this Program
Subscribe
Notify of
guest


1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Bhamidimarri S Surya Narayana Jagannath

helping a lot in patterns