Pregunta de entrevista de Suretek Infosoft

Print the Pattern? * ** *** ****

Respuesta de la entrevista

Anónimo

10 mar 2023

#include using namespace std; int triangle(int n) { int i,j, k=n; for (int i=1; i=k) cout<<"* "; else cout<<" "; } k--; cout<