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

Should I learn c++ c?

1006


What is c++ manipulator?

939


Is c++ built on c?

975


Is c++ a high level language?

953


write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num

2590


What are the types of pointer?

1042


What is the difference between the functions rand(), random(), srand() and randomize()?

1221


Which bit wise operator is suitable for putting on a particular bit in a number?

1149


How many types of modularization are there in c++?

1036


Explain pass by value and pass by reference.

1017


What are the various situations where a copy constructor is invoked?

1084


What is virtual function? Explain with an example

1041


Explain the differences between list x; & list x();.

968


What are namespaces in c++?

1039


How many types of classes are there in c++?

991