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 / debotri das

#include<iostream.h>
#include<conio.h>
void main()
{
int i=32;
clrscr();
while(i<=50)
{
if(i%2==0)
cout<<i<<"\n";
i++;
}
getch();
}

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does n mean in c++?

1158


What are the various storage classes in C++?

1134


What is conditions when using boolean operators?

1217


What are punctuators in c++?

1157


Is ca high or low level language?

1076


What is prototype in c++ with example?

1140


Can java be faster than c++?

1149


What is c++ prototype?

1198


Should the member functions which are made public in the base class be hidden?

1028


What is the most powerful coding language?

1053


How much do coding jobs pay?

1008


What is private public protected in c++?

1046


Define the process of error-handling in case of constructor failure?

1012


What is lazy initialization in c++?

1100


How do I exit turbo c++?

1066