#include<stdio.h>
#include<iostream.h>
#include<conio.h>
void main()
{
cout<<"Enter a Numeric value";
int i,n,j;
cin>>n;
for(i=0;i<n;i++)
{
for(j=i;j<n;j++)
{
printf(" ");
for(int o=i+1;o<=n;o++)
cout<<"*";
}
printf("\n");
}
getch();
}
I will stop patterns for a while...
Posted by lol ik
Comments
Post a Comment