Hi this is my first post and I need help on my first program on making some shapes in c++ using for statement and using *. Its an simple for statement program but I got nothing. Im trying to making an acute triangle using *. I got the triangle down but its coming out as an right triangle and I dont really know how to make it as as acute. This is what i have now
_______________________________________________________________
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
for (int i=0; i < 10; i++)
{
for (int j=0; j < i; j++)
{
cout << "*";
}
cout << endl;
}
}
_______________________________________________________________
thanks inadvance