Skip to main content

Program for Number Pattern 2

· One min read
Kaustubh Kulkarni
Pattern2.cpp
/* Program for pattern Below

5
5 4
5 4 3
5 4 3 2
5 4 3 2 1

*/






#include<iostream>
using namespace std;
int main()
{
for(int i=5;i>=1;i--)
{
for(int j=5;j>=i;j--)
{
cout<<j<<"t";
}
cout<<endl;
}
}