Hi guys, I'm having trouble with this program.
Question is write a c++ program to draw and fill a triangle given three sides.
For some values, it works fine but for some, it doesn't. For example, if I enter 5, 6 & 9 it works fine but when I enter 6, 8 & 9 it doesn't work.
using namespace std;
int rows, columns;
double l,m,n, largest_side;
he's referring to those formats on the right (when you post something here)
and that you should use [ code ] (without spaces between the word and brackets), and then end the code with [ /code ] (also without the spaces), so that it can be more readable.
something like this:
[ code ]
[ /code ]
you could press one of the buttons, and see what option it is (<> is the one for source code)
and so the result should look like this: (also indent the text if needed)