pattern printing in c language using loop Write a C program to print the given number pattern using loop. How to print the given number pattern using loop in C programming. Logic to print the given number pattern using C program. Example Input Input N: 5 Output 1 1 12 21 123 321 1234 4321 1234554321 solution for this pattern printing problem- #include<stdio.h> int main() { int i,j,k; for(i=0;i<=5;i++) { for(j=0;j<=i;j++) { printf("%d",j); } for(k=0;k<=10-(2*i);k++) { printf(" "); } int l=i; for(l=i;l>=0;l--) { printf("%d",l); } printf("\n"); } return 0; } output- output doubt comment box mai puche ask doubt in comment box.
Technical Keeda is best plateform for learning coding, Programming,competitive programming ,c++ language. Here we Provide best explaination of Programming question also Here You can boost your technical knowledge.You Will get aware of latest technology available in market.