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

Can constructor be private in c++?

1087


What is a try block?

1120


Can we make any program in c++ without using any header file and what is the shortest program in c++.

1173


Explain the advantages of using friend classes.

1228


Do you know the problem with overriding functions?

1171


How does c++ sort work?

1027


what are the characteristics of Class Members in C++?

1091


Explain the difference between struct and class in terms of access modifier.

1226


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

1592


How much do coding jobs pay?

1063


What is the importance of mutable keyword?

1076


Why is swift so fast?

1178


Show the declaration for a pointer to function returning long and taking an integer parameter.

1223


What is the function to call to turn an ascii string into a long?

1122


What are c++ variables?

1101