There are 8 billiard balls, and one of them is slightly
heavier, but the only way to tell was by putting it on a
weighing scale against another. What's the fewest number of
times you'd have to use the scale to find the heavier ball?

Answer Posted / mahesh t

first take 6 balls from 8 balls

from those 6 divide 3 and 3 check it in weighing scale if it
equals weight remaining 2 balls and you get the hevier
ball....of not equals take the 3 balls which is hevier from
those weighing with 6 balls then take 2 balls from those 3
balls and weight if equals the remaining one is hevier


and final you can know the hevier ball within 2 times

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who developed c language and when?

588


What functions are used for dynamic memory allocation in c language?

604


Write a program to find the biggest number of three numbers in c?

590


What is the difference between char array and char pointer?

527


write a c program in such a way that if we enter the today date the output should be next day's date.

1685






Explain what are the different data types in c?

761


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

647


Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

1426


Explain what does a function declared as pascal do differently?

644


Why malloc is faster than calloc?

594


What is linear search?

678


How is a structure member accessed?

588


Give me the code of in-order recursive and non-recursive.

889


What are c header files?

583


write a programming in c to find the sum of all elements in an array through function.

1710