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
Is eclipse good for c++?
What is the difference between public, private, and protected access?
What is c++ array?
What are mutator methods in c++?
Is it possible for a member function to use delete this?
How many types of scopes are there in c++?
In what situations do you have to use initialization list rather than assignment in constructors?
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
What apps are written in c++?
What is the best c++ book?
What are the main features of c++?
What is protected inheritance?
How the delete operator differs from the delete[]operator?
Write some differences between an external iterator and an internal iterator?
What is meant by const_cast?