Skip to main content
Search
Search This Blog
Kabeer Mukhi
In this Blog you will find tips and tricks related to Technology And Programming.
Home
Contact
Moreā¦
About
Home
Contact
About
Home
Contact
About
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
Labels
C++
Pattern
June 19, 2018
#18 C++ Pattern
#include<iostream.h>
#include<conio.h>
void main()
{
int i,j,n;
clrscr();
cout<<"Enter Your Number : ";
cin>>n;
for(i=1;i<=n;i++)
{
for(j=n;j>=i;j--)
{
cout<<i<<" ";
}
cout<<endl;
}
getch();
}
Output ::
Enter Your Number : 5
You Can Also Download This Program From Here
Comments
Popular Posts
November 09, 2018
Program To Find Minimum of the given two number in C++
Comments
Post a Comment