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
What is meant by entry controlled loop?
Is map thread safe c++?
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Which sort does c++ use?
What is a flag in c++?
Is nan a c++?
Explain virtual class and friend class.
What do you know about near, far and huge pointer?
how to explain our contribution in the project?
What is an inclusion guard?
What is ios in c++?
What is the use of ::(scope resolution operator)?
What is the difference between a template and a macro?
How the endl and setw manipulator works?