DO NOT MISS

Ads

Tuesday, 23 August 2016

Program 26(Format 26) 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(" * ");
                        printf("\n");

                 }

           getch();

     }

___________________________________________________________________________

Greataims

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