109k views
1 vote
Cann anyone helppppp?​

Cann anyone helppppp?​-example-1
User Ivan Durst
by
3.4k points

1 Answer

5 votes

Answer:

#include <stdio.h>

int main(){

int limit;

int i;

printf("Enter the limit: ");

scanf("%d", &limit);

for (int i = 1; i < limit+1 ; i++){

for (int j = 1; j < i + 1; j++){

printf("%d", j);

}

printf("\\");

}

return 0;

}

Step-by-step explanation:

User Bagage
by
4.1k points