DO NOT MISS

Ads

Sunday 14 August 2016

Program 11 (Format 11) Using nested for Loop


#include<stdio.h>
#include<conio.h>

void main()

     {

          int i,j;
          clrscr();

         
for(i=5;i>=1;i--)
                 {
                    for(j=1;j<=i;j++)

                    printf(" %d ",j);
                    printf("\n");

                 }

          getch();

     }
___________________________________________________________________________

Greataims

 
Copyright © 2016 Computersadda. Designed by @ Computersadda Team - Published By Greataims