Hey there, I typed a code in C language and I have setup everything to support the C language. It was the loop code to make the pyramid like this
So when I run the code it came out to be like this
And also to check there were no errors in the syntax + I checked in online compilers there it worked perfectly.
In case this is the code
int i=0, j=0, r ;
printf(“Enter the number of rows: “);
scanf(”%d”, &r );
for(i=1; i<=r; ++i)
for(j=1; j<=i; ++j)
Please help me with this error.