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 vector processing?

1112


What is c++ w3school?

1055


Which ide is best for c++?

989


What are mutator methods in c++?

1106


an operation between an integer and real always yeilds a) integer result b) real result c) float result

1105


How did c++ get its name?

970


What is the use of ::(scope resolution operator)?

1017


Why is swift so fast?

1054


Explain what data encapsulation is in c++?

1028


What is math h in c++?

1093


What are namespaces in c++?

1024


Can java be faster than c++?

1105


Can a program run without main in c++?

1122


What is the first name of c++?

1006


What are the various situations where a copy constructor is invoked?

1067