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 / soumava bose

suppose B1,B2,& B3 care the baskets.Now we will first open
B1.suppose it contains Oranges.Then its level would be
either Appale or Combination.Now suppose The lebel is
combination.Now the basket with lebel orange is
interchanged with it.As initially all baskets had wrong
lebels.so the basket with lebel appale must have either
orange or combination.so now we interchange the two lebels
of the remaining baskets & get the proper answer.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many loops are there in c?

571


Where in memory are my variables stored?

631


How do you convert strings to numbers in C?

705


What does stand for?

590


What is a stream in c programming?

588






How can you draw circles in C?

621


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1400


What is methods in c?

636


What is self-referential structure in c programming?

653


What is d'n in c?

624


Explain how are 16- and 32-bit numbers stored?

779


How can a program be made to print the name of a source file where an error occurs?

725


Explain what is the benefit of using #define to declare a constant?

604


Explain the bubble sort algorithm.

638


What is the Purpose of 'extern' keyword in a function declaration?

645