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

When does a name clash occur in c++?

1173


State two differences between C and C++.

1174


What do you mean by storage classes?

1605


Can we delete this pointer in c++?

1222


What is the difference between global variables and local variable

1066


What is #include sstream?

1067


Is swift faster than c++?

1025


How do you declare a set in c++?

957


What are the benefits of pointers?

1040


What does #define mean in c++?

1272


What are advantages of c++?

1026


what is C++ exceptional handling?

1180


What is the purpose of templates in c++?

1037


What is iomanip c++?

1081


Is c the same as c++?

1010