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

Comment on c++ standard exceptions?

1039


What do you mean by const correctness?

1031


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

6342


What is the difference between prefix and postfix versions of operator++()?

1026


Explain terminate() and unexpected() function?

1036


Define pre-condition and post-condition to a member function in c++?

1088


How the delete operator differs from the delete[]operator?

1049


What is the difference between global int and static int declaration?

950


How do I use turbo c++?

939


What is a sequence in c++?

960


What would happen on forgetting [], while deallocating an array through new?

1029


Do you know the use of vtable?

1085


What is else syntax in c++?

1120


What is meaning of in c++?

1149


Write about all the implicit member functions of a class?

1018