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

What are global variables and how do you declare them?

1102


What are the __date__ and __time__ preprocessor commands?

1121


What is a structure in c language. how to initialise a structure in c?

1067


What is a buffer in c?

1007


What are runtime error?

1136


What does %c do in c?

995


Differentiate between #include<...> and #include '...'

1066


What is #include stdio h and #include conio h?

1112


What do you mean by c what are the main characteristics of c language?

1037


What is %g in c?

1080


Is there sort function in c?

1022


How can I get back to the interactive keyboard if stdin is redirected?

1192


please give me some tips for the placement in the TCS.

2116


How do you print only part of a string?

1023


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1947