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 are the characteristics of friend functions?
Does c++ support multilevel and multiple inheritances?
What is #include iomanip?
What things would you remember while making an interface?
Distinguish between a # include and #define.
What is pointer in c++ with example?
What's the most powerful programming language?
Define private, protected and public access control.
Explain storage qualifiers in c++.
Does std endl flush?
List the issue that the auto_ptr object handles?
What is a multimap c++?
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
Can a constructor return a value?
What do you mean by persistent and non persistent objects?