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 / jack

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

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 meant by forward referencing and when should it be used?

1011


Why is null pointer used?

1171


Why is c++ is better than c?

978


What are different types of loops in c++?

1126


What is array in c++ pdf?

1188


Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].

1059


What is the full form of c++?

1346


How const int *ourpointer differs from int const *ourpointer?

1133


What is diamond problem in c++?

997


Can I learn c++ without c?

1144


What is the difference between new() and malloc()?

2071


What is the need of a destructor?

1142


Is swift faster than go?

1096


Is c++ free?

1099


What's the order in which the objects in an array are destructed?

1409