Sunday, 9 November 2014

Print 1000,100,10,1

Print 1000,100,10,1.

#include<stdio.h>
#include<conio.h>
void main()
{
    int i=1000;
     xyz:
     printf("%d",i);
     i=i/10;
     if(i>=1)
      {
        goto xyz;


            }
              getch();

          }

No comments:

Post a Comment