Computer Science, asked by sunitagupta54637, 1 year ago

Please write the code for the following

Attachments:

Answers

Answered by tejash1101
0

Explanation:

#include <stdio.h>

int main()

{

int i, j, N;

clrscr();

printf("Enter N: ");

scanf("%d", &N);

for(i=1; i<=N; i++)

{

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

{

printf("%d", j);

}

printf("\n");

}

getch();

return 0;

}

Similar questions