Computer Science, asked by sneha5555, 1 year ago

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

Attachments:

Answers

Answered by Ashishdaida
1

#include<stdio.h>

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");
}
}

Answered by channakeshava10
0

Answer:

good afternoon my friend..had ur lunch..thanks for free points my friend...

Explanation:

be careful from corona my friend..take care..have a great day ahead with joy and happiness...

Similar questions