Program to print inclined plane shape pattern.



#include<iostream>
using namespace std;
int main()
{
for(int i=1;i<=6;i++)
{
cout<<endl;
for(int j=1;j<=i;j++)
cout<<"*";
}
return 0;
}

By Ayush Gupta, Student

Comments