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 / laxman kanhere

# 1 # include <conio.h>
# include <iostream.h>
void main()
{
clrscr();
int c1,c2;
cout<<"/n ENTER VALUES OF C1 AND C2";
cin>>c1>>c2;
if( c1>c2)
print("c1 is greater")
else
print("c2 is greater and c1 is smaller")
}

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c++ is not a pure oop language?

1093


What is a node class in c++?

1114


give me an example for testing a program showing the test path .show how the test is important and complex.

2995


In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....

2472


Does a derived class inherit or doesn't inherit?

1126


What is virtual destructor ans explain its use?

1170


Why is c++ so fast?

1086


Is c or c++ more useful?

1099


Can create new c++ operators?

1066


What is isdigit c++?

1150


Which programming language is best to learn first?

1123


What is the use of :: operator in c++?

1185


program explaining feautures of c++

2494


What is the average salary of a c++ programmer?

1067


What are multiple inheritances (virtual inheritance)?

1113