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
How can you link a c program with a c function?
Will c++ be replaced?
What is buffer and example?
Is java a c++?
What do the keywords volatile and mean mutable?
Is c++ free?
What are references in c++? What is a local reference?
Explain explicit container.
How can you specify a class in C++?
What is difference between class and structure in c++?
What are proxy objects in c++?
Define macro.
What is oops in c++?
What is iterator in c++?
What is the difference between a "copy constructor" and an "assignment operator" in C++?