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 / anil parihar
4
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
When should structures be passed by values or by references?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is type qualifiers?
How do you list files in a directory?
What is c token?
Can a program have two main functions?
Explain what does the function toupper() do?
What is the right way to use errno?
What is a keyword?
What is a program?
What is equivalent to ++i+++j?
Explain what are multidimensional arrays?
Which driver is a pure java driver