Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program for odd numbers?

Answer Posted / keerthana

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

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of clrscr?

1110


what are # pragma staments?

2046


Differentiate between Macro and ordinary definition.

1384


What is calloc malloc realloc in c?

1059


What is typedf?

1126


What are pointers? Why are they used?

1184


What is function prototype in c language?

1034


What are runtime error?

1135


What is a program?

1267


What is an identifier?

1036


What is typedef struct in c?

1051


What is meant by recursion?

1052


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

1056


How can I make sure that my program is the only one accessing a file?

1278


What is the difference between text files and binary files?

1351