Thursday, February 27, 2014

Odd numbers from 50 to 100

#include<stdio.h>
#include<conio.h>
main()
{
int i;
printf("Odd Numbers are follows:\n");
for(i=50;i<=100;i++)
i%2!=1?:printf("%d\t",i);
getch();
}

No comments:

Post a Comment