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...

3- Write a program to find larger and smaller of the two
numbers.

Answer Posted / tcs

#include<iostram.h>
void main()
{
int a,b,c;
cout<<"enter two num";
cin>>a>>b;
if(a>b)
{
cout<<"a is greater"<<a;
}
else
{
cout<<"a is small"<<a;
}
}

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of container classes?

1145


Is c++ an oop?

1074


which of the following is not an secondary constant a) array b) real c) union

1790


Is c++ a dying language?

1139


What is a float in c++?

975


Does c++ have finally?

1017


What is singleton pattern in c++?

975


What is atoi in c++?

1059


Which one is a preferred language C or C++? Why?

1068


What is recursion?

2106


How a new operator differs from the operator new?

1107


What is a container class? What are the types of container classes in c++?

1239


What is iterator in c++?

1095


Implement stack operations with pointers with appropriate exception checks.

963


What are the four main data types?

1077