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
What is declaration and definition in c?
What are file streams?
Can we declare variables anywhere in c?
show how link list can be used to repersent the following polynomial i) 5x+2
How many loops are there in c?
Can we compile a program without main() function?
Is c still used?
What is a file descriptor in c?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
What is array of structure in c?
What is C language ?
Are the expressions * ptr ++ and ++ * ptr same?
In c programming language, how many parameters can be passed to a function ?
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.