Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a C++ programming :if the no is between 32 to 50 it
will be odd.

Answer Posted / devi

#include<iostream.h>
#include<conio.h>
void main()
{
int i;
clrscr();
for(i=32;i<=50;i++)
{
if(i%2==1)
{
cout<<"Odd Number is:"<<i<<endl;
}
}
getch();
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Distinguish between a # include and #define.

1151


How is c++ used in the real world?

1037


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

1071


Is c++ a software?

1200


What do you mean by overhead in c++?

1095


What is the main function c++?

1130


What is the difference between #import and #include?

1055


Can we use this pointer inside static member function?

1072


Explain function overloading and operator overloading.

1078


What is the use of c++ programming language in real life?

1051


How does c++ structure differ from c++ class?

1131


What is pointer in c++ with example?

1075


What is an html tag?

1147


Define the process of error-handling in case of constructor failure?

1016


What is runtime polymorphism in c++?

1162