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 is ios in c++?

1263


Does c++ have finally?

1088


Search for: what is pair in c++?

1175


Explain static and dynamic memory allocation with an example each.

1155


which operator is used for performing an exponential operation a) > b) ^ c) none

1112


What are the advantages of using typedef in a program?

1183


Why is c++ still popular?

1100


How does c++ sort work?

1027


List the types of polymorphism in c++?

1152


what is oops and list its features in c++?

1113


What is a memory leak c++?

1220


Explain the scope of resolution operator.

1162


What is code reusability in c++?

1292


What are the sizes and ranges of the basic c++ data types?

1101


Is rust better than c++?

1172