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 flush programming?

1015


Is C++ case sensitive a) False b) Depends on implementation c) True

1076


Do you know the use of vtable?

1132


Write syntax to define friend functions in C++.

1075


What is the array and initializing arrays in c++?

1030


Search for: what is pair in c++?

1119


What should main() return in c and c++?

1021


What is java and c++?

1171


What do you mean by global variables?

1074


What is the difference between equal to (==) and assignment operator (=)?

1075


Why is standard template library used?

1053


What is while loops?

1052


What is #include ctype h in c++?

1169


Which bit wise operator is suitable for turning off a particular bit in a number?

1111


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

1081