Contact Learn C
Copy Program Share Program

Program 356:Generate Given Numerical Pattern 6

Program 356:Generate Given Numerical Pattern 6
 
#include<stdio.h>
main()
{
    int i,j,num,k,count;
    printf("Enter number of rows\n");
    scanf("%d",&num);
    count=num-1;
    for(i=1;i<=num;i++)
    {
    for(k=1;k<=count;k++)
    {
        printf(" ");
    }
        for(j=i;j>=1;j--)
        {
            printf("%d",j);
           
        }
        
    printf("\n");
    count--;
    }
}
Enter number of rows
5
    1
   21
  321
 4321
54321
Explanation:

//Coming Soon...

 Output:

Generate Given Numerical Pattern 6

1 comment:

  1. �xˇ…§žR;ÚEł´[#›&ŽMABŚ)ń/ŻŽešÍ>EÖěKcŚř‹ÜŹ5*y˘ŕěů ň˝BZXŞš†Ěĺ°IyČůˆ›Á6SL=5RěŮžˇÚŁUĚTŠiHž
    4 ÄŁő¸Í.Wňü7wVB˘üY]oF­óĽă ”™ÍXł–•g°ˇňTÎŇ
    Šő–‰_Žm$`6ˆtľRˇšnŠnœlŃĎÇň|ŠŠ6˜ÝÖçĹ>7ńVâŤ9e(ˇĽFvŕÎŇap4ÉdEk˘ŕűĺ9źłžW‡4b)ćc)4Y–[ŮFÂ0"Ű÷žčrc¤Ç!°Ÿ7–ćÝŚ…şßl&v� yÂ=KdoĎ×â;ŢŕźYKgu´E*šW„šČ9[űŃÁŠĂ*ôk¨h‘�p^˝…|°L+iţÔ.r˘ŽÎ›ěźÜ‘pźt6Î!uE.Ŕ–Úá�ÔUÉşjĆ1ÍžŤÝ�î`™3„żŹ}Řş˙cj?
    žZ�é�}ŞŢlË’�‡–QőŐE—ŔúĚHÇĆH”Ż”ą+j
    îůžŒCr}exÍžK/ŁmŠĺP�Ë˙>?Žž Źd'¸(“öZďZ1&#0;âĹ+DˇéŞőÉĐáşYaĎá@œšłĺ1
    ŃűP‚“}ţ"¤|Řtŕęן‡ŢČz–…z2ÉTuŒYţR*ŮOCň…}—Ÿ?űčl–›Jű+EŻ¤…;cPÉ=d˝BŁ˜ƒ›¤Ń
    ApďfśƒŘ×°˘PGăäĹôX&#0;˛ÂŕľémÎyKœ6Äë:6
    —ž3r*Ŕ‹Ú;şŢ2…=š’“G6ą9•€ˇK‰wO[†Mŕ^sö/”IśîÎéďËSFÝd~X“ôíýœŽrpIBýŻÚËŠOEěë—&žŮˇ–ŽîÂP!oŸi˙MŢżŻzÍœĺ™P|Ń?4ŽsÖ8ĚB@|“qĚš�ď=˝,8›ƒVŸż¸N‡¨Ö“†p‹SˆoO㽢`ÚHĽ˝�öä!G0§ŰFÉIĆCśŹƒaäSNgÎÝ4VŰ)R?�ĺߟé"zÂÍ’˜îÎ2ŽŻ…â‹™qÔ“ŘfN�âĂ%ú5~^Ž•œ Ý
    ٨—jGűœŐ[ÄshˆÜßŃŃ'{��aÍ‹Â’˙�ďUœ—„(ŰaľM?oŐEúkqëyF5�á�Ëâ¸éM�Ů6Ă49=ÜsA>9U@+(ôV)Şűđîč)ü׿'ů?âĐëŘikíŒhM‚O@.ů&}•ť99;÷2˘oé2ä4ú%ÖhĂęM”Zôż˘/d÷Š`�÷ë˙4Ľš(Ž‰ŘŠĂO(ˆí�A*>ź˜ü ĺĄW50˛‹YZV€˙žoB”}čŤŇˇŸł?Oř;
    cő8›ˇ=řÍŚů5‹Œ&#0;Ľ>c`Ľ’bî›!Ź![Ô äĘ5!—(V/%3HłüG/üüŞ
    l‚O@Ęp“rřă
    †+ĄgÄŮf&#0;Ke6JSq=Äyŕßj;Dő�|ŘÁÚŚBÇ;N ŤţÄt˙ŒŮ_Ęťł™a#QĘk=ˇSˆjÜ ă˛<˝{vKKéFşő
    ďŘ

    ReplyDelete

Donate

Download App and Learn when ever you want

Get it on PlayStore
Get it on Amazon App Store
Get it on Aptoide