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
Can constructor be private in c++?
What is a try block?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
Explain the advantages of using friend classes.
Do you know the problem with overriding functions?
How does c++ sort work?
what are the characteristics of Class Members in C++?
Explain the difference between struct and class in terms of access modifier.
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
How much do coding jobs pay?
What is the importance of mutable keyword?
Why is swift so fast?
Show the declaration for a pointer to function returning long and taking an integer parameter.
What is the function to call to turn an ascii string into a long?
What are c++ variables?