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 does n mean in c++?
What are the various storage classes in C++?
What is conditions when using boolean operators?
What are punctuators in c++?
Is ca high or low level language?
What is prototype in c++ with example?
Can java be faster than c++?
What is c++ prototype?
Should the member functions which are made public in the base class be hidden?
What is the most powerful coding language?
How much do coding jobs pay?
What is private public protected in c++?
Define the process of error-handling in case of constructor failure?
What is lazy initialization in c++?
How do I exit turbo c++?