C++ program that makes an equilateral triangle using stars??????

i tried my best bu ti could not find the right answer fo r that question..
i want to write a c++ programm that will print the following on the console:
*
***
*****
it should have the equilateral triangle pattren
please help me????????/
Update: i tried your progrm <jman> well,it didn't have the equilateral triangle pattren
3 answers