Revision as of 19:43, 13 May 2024 by Admin (Created page with "Write a function that outputs a right isosceles triangle of height and width ''n'', so ''n = 3'' would look like <pre> * ** *** </pre>")
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
}