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 C++ programming :if the no is between 32 to 50 it
will be odd.

Answer Posted / amit

void main()
{

int i,r;
for(i=32;i<=50;i++)
{
if(i%2!=0)
{
cout<<"odd"<<i
}
}

getch();
}

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you link a c program with a c function?

1031


Will c++ be replaced?

1009


What is buffer and example?

958


Is java a c++?

1002


What do the keywords volatile and mean mutable?

1018


Is c++ free?

1058


What are references in c++? What is a local reference?

999


Explain explicit container.

1049


How can you specify a class in C++?

1234


What is difference between class and structure in c++?

1153


What are proxy objects in c++?

1141


Define macro.

1041


What is oops in c++?

1011


What is iterator in c++?

1072


What is the difference between a "copy constructor" and an "assignment operator" in C++?

1039