URI Online Judge Solution 1067 - Solution in C







Solution in C

#include<stdio.h>
int main()
{
int i,n;
scanf("%d",&n);
if(1<=n<=1000);
{
for(i=1;i<=n;i++)
{
if(i%2!=0)
{
printf("%d\n",i);
}
}
}
return 0;
}



~~~~~~Happy Coding~~~~~~

No comments

Powered by Blogger.