May 13'24

Exercise

Write a function that outputs a right isosceles triangle of height and width n, so n = 3 would look like

*
**
***
May 13'24

One possible solution: #include

int main(void) {

 int n;
 scanf("%d",&n);
 for(int i=0;i

}

00