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...

write a program to find the largest of two numbers without
using for,while,switch,if else, conditional operator and do
while using c++ pgmng language

Answer Posted / swaroop

int max,a,b;
max = (a>b)? a:b ;

Is This Answer Correct ?    8 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1924


What is difference between data abstraction and encapsulation?

1055


write knight tour problem which is present in datastructure

2622


What is the difference between encapsulation and polymorphism?

1066


What is overloading in oops?

1112


What is encapsulation in simple terms?

1000


What are the 4 pillars of oop?

1107


Can destructor be overloaded?

995


What is the purpose of polymorphism?

1099


What is abstraction in oops?

999


Can abstract class have normal methods?

1014


What does it mean when someone says I oop?

1027


Why do we use oop?

1059


How do you explain polymorphism?

1039


Can you explain polymorphism?

1069