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

How are strings stored in c?

973


What is the use of pragma in embedded c?

1003


What are pointers?

1044


What are the functions to open and close file in c language?

1131


Why use int main instead of void main?

1072


If errno contains a nonzero number, is there an error?

1292


What is 02d in c?

1028


Which driver is a pure java driver

1532


What are the advantages of Macro over function?

1927


List the different types of c tokens?

1010


When is a “switch” statement preferable over an “if” statement?

1072


What is modifier & how many types of modifiers available in c?

983


How can I manipulate strings of multibyte characters?

1077


What is difference between && and & in c?

1045


What is meant by inheritance?

1048