sorry this is the code
Code:
#include <stdio.h>
int main(){
for (int i=0;i<4;i++){
printf("\n");
for (int j=0;j<(i+1);j++)
printf("%d",(i+j));
}
getchar();
return 0;
}
and the output was
0
12
234
3456
instead of getting
0
12
345
6789
what's wrong in the code so I can get the right answer