Question: Write a loop to find what is the highest power of 2 that is less than 100,000. A power of two is the result of
Write a loop to find what is the highest power of 2 that is less than 100,000. A power of two is the result of 2 to the power of something. For example, the highest power of two that is less than 10 is 8. You must use a loop, linear solutions are not acceptable. Write this program in C
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
