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

Define basic type of variable used for a different condition in C++?

1193


What is the use of map in c++?

1194


what you know about c++?

1199


Is c++ still in demand?

1200


Write a program to find the Factorial of a number

1119


Write about a nested class and mention its use?

1164


What do you mean by ‘void’ return type?

1104


What are mutator methods in c++?

1201


What is the difference between reference and pointer?

1227


Define Virtual function in C++.

1150


What is the main use of c++?

1168


Who made c++?

1133


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

1187


What apps are written in c++?

1141


What are c++ variables?

1100