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
When does a name clash occur in c++?
State two differences between C and C++.
What do you mean by storage classes?
Can we delete this pointer in c++?
What is the difference between global variables and local variable
What is #include sstream?
Is swift faster than c++?
How do you declare a set in c++?
What are the benefits of pointers?
What does #define mean in c++?
What are advantages of c++?
what is C++ exceptional handling?
What is the purpose of templates in c++?
What is iomanip c++?
Is c the same as c++?