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
What is a Default constructor?
What are guid?
Write a c program for binary addition of two 8 bit numbers.
What is the type of 'this' pointer? When does it get created?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
What is the difference between delegation and implemented-in-terms-of?
How can you create a virtual copy constructor?
What's the order in which the local objects are destructed?
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
What is class syntax c++? Is multimap sorted c++? Explain this pointer? Is c++ a good first language to learn? What is difference between class and function?