DevJourney · code I wrote while learning
50TO1LP.C
185 B//Program to print numbers from 50 to 1 using loop
#include<stdio.h>
#include<conio.h>
int main()
{
int i;
for(i=50;i>0;i=i-1)
{
printf("%d ",i);
}
getch();
return 0;
}DevJourney · code I wrote while learning
//Program to print numbers from 50 to 1 using loop
#include<stdio.h>
#include<conio.h>
int main()
{
int i;
for(i=50;i>0;i=i-1)
{
printf("%d ",i);
}
getch();
return 0;
}