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 / shubhashree sahoo

# 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 ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do c++ struct differs from the c++ class?

1120


What is a multimap c++?

1140


write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num

2581


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

1018


Is c++ built on c?

970


What do you mean by storage classes?

1500


What is the difference between a template and a macro?

998


How do I run a program in notepad ++?

1043


Explain rethrowing exceptions with an example?

979


Distinguish between a # include and #define.

1081


What happens when the extern "c" char func (char*,waste) executes?

1021


Explain the static member function.

1117


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3794


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

1016


Write some differences between an external iterator and an internal iterator?

970