Skip to main content


Showing posts from April, 2019

Important notice

Hey Regular readers of technical Keeda  . I am author of this blog and i want to inform you that i am busy for a month so i will not be able to write anything in this month. Sorry for that. We will meet with new blog post next month. Stay connected.

how to print number triangle in c language : pattern printing

how to print number  triangle in c language : pattern printing #include<stdio.h> int main() {     int i,j,k;     for(i=0;i<=5;i++)    {       for(j=0;j<=i;j++)     {         printf("%d",j);    }    printf("\n");    }    return 0; } output output doubt comment box mai puche ask doubt in comment box.

pattern printing in c language

print pattern in c language- #include<stdio.h> int main() { int i,j,k; for(i=0;i<=10;i++) { for(k=0;k<=i;k++) { printf("*"); } for(j=0;j<=20-2*i;j++) { printf(" "); } for(k=0;k<=i;k++) { printf("*"); } printf("\n"); } for(i=0;i<10;i++) {     for(j=0;j<10-i;j++)     { printf("*");     }     for(k=0;k<=2*i+2;k++)    { printf(" ");    }    for(int l=0;l<10-i;l++)    {        printf("*");    }    printf("\n"); } return 0; } output- iss program ka output output code samajh mai nhi aaya to comment box mai puch sakte hain. you can ask doubt in comment box