Innostax interview question

Print star pyramid using c++