How to write a c program to print in reverse order in C programming ?
Solution:
#include <stdio.h>
int main()
{
int i,k;
printf ("Enter the number: ");
scanf("%d",&k);
for(i = k; i >= 0; i--)
printf("%d\n",i);
return 0;
}
Learn To Write A Program. Learn Programming Online. Find Programming Solutions.