Print From Y to X

C Code:

#include<stdio.h>
#include <stdlib.h>

int main()
{
int x,y;
scanf("%d %d",&x,&y);
int i;
for(i=y;i>=x;i--)
printf("%d ",i);

}

Comments

Popular posts from this blog

Fisherman's Mantra

First & Last X Digits

N Integers – Sum S – All Combinations(Weekly Test)