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

What is the difference between #import and #include in c++?

1110


Explain about Garbage Collector?

1122


Are php strings immutable?

1061


Why c++ is created?

1008


What is the rule of three?

1004


What is a manipulative person?

1021


Using a smart pointer can we iterate through a container?

1088


Define upcasting.

1047


What are c++ manipulators?

1080


Can we run c program in turbo c++?

1084


Name the debugging methods that are used to solve problems?

1094


Which is not a valid keyword a) public b) protected c) guarded

1264


What is the difference between a definition and a declaration?

1073


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

1035


What is runtime polymorphism in c++?

1163