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

There are 3 baskets of fruits with worng lables,one basket
has apple,another basket has orange,another has combination
of apple and orange,what is the least way of interchange
the lables.

Answer Posted / nitinbhatia2211

Lets Say Basket as B1, B2, B3 labelled Apple, Orange and
Apple&Orange respectively.
As all the Baskets have wrong labels, we are sure for one
thing that Basket B3 doesn't contain Apples&Orange So we
will first take out the fruit from it. Suppose its Apple
then surely B3 will get its real label i.e. Apple.
And as again we know that the all baskets were wrongly
labelled... interchange the labels of basket B2 and B1.

So finally we have B1, B2 and B3 containing Orange,
Apple&Orange and Apple respectively.

Therefore the least no of ways to find out the correct
labels is ONE only.

Is This Answer Correct ?    47 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe dynamic data structure in c programming language?

1043


Where is c used?

1039


What is #define used for in c?

1018


Tell me the use of bit field in c language?

1021


Write the test cases for checking a variable having value in range -10.0 to +10.0?

2271


What is the difference between printf and scanf in c?

1288


What is indirection? How many levels of pointers can you have?

1093


c program to compute AREA under integral

2342


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

1203


Explain the process of converting a Tree into a Binary Tree.

2614


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

3008


What is c method?

944


List the difference between a While & Do While loops?

1055


Write a program to generate the Fibinocci Series

1168


Differentiate between the expression “++a” and “a++”?

1207