1.

Write a C program to print the given no. (Nested loop)...Will mark the best answer brainliest..I want each step......

Answer»
#include

int main()
{
int i, J, K;
for(i=1;i<=5;i++)
{
for(j=i;j<5;j++)
{
printf(" ");
}
for(k=1;k<(i*2);k++)
{
printf("%d",k);
}
printf("\N");
}
}



Discussion

No Comment Found