/*Program: printing nos. From 1 to 100 and from 100 to 1 without using loops*/
#include<stdio.h>
#include<conio.h>
void main()
{
int i=1;
loop:
printf("%d ",i++);
if(i<=100)
goto loop;
printf("\n\n");
i--; //setting i equal to 100
loop_again:
printf("%d ",i--);
if(i>0)
goto loop_again;
}