I have a exam and don't know how to write a program to draw a triangle of stars, for example :
* ** *** **** *****And also flip upside down, for example : * ** *** **** *****And also in the form of isosceles triangle, for example : * *** ***** *******And also in the form of a specific, for example : * *** ***** ******* ***** *** *
Please help me!
Best Answer