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

How do you compile the source code with your compiler?

1060


Write about the various sections of the executable image?

982


Explain the different access specifiers for the class member in c++.

1004


Why is standard template library used?

1056


What is a binary file? List the merits and demerits of the binary file usagein C++.

1308


Can c++ be faster than c?

1034


What are the four main data types?

1085


which of the following is not an secondary constant a) array b) real c) union

1806


Will rust take over c++?

1061


Explain how the virtual base class is different from the conventional base classes of the opps.

1171


Define a nested class.

1079


What is c++ similar to?

1188


Which is best ide for c++?

1014


What is a try block?

1074


How to declare a pointer to an array of integers?

1144