hI 2 all, plz I need help in this program I need to draw a right-angle triangle, but empty from inside.
this what I did till now:
#include <iostream>
using namespace std;
void main ()
{
int n;
int i=1,j;
cout<<"Enter the length";
cin>>n;
while(i<=n)
{
j=1;
while(j<=i)
{
cout<<"*";
j++;
}
cout<<endl;
i++;
}
}
thanks a lot :)