Due Tuesday Sept 3 by 11:59pm NAME: Collaborator: Complete the following. (1) Copy this file (~jkinne/public_html/cs151-f2013/code/hw3.txt) into your ~/handin/ directory. And fill in your name and collaborators above. (2) Create an account on scratch.mit.edu, and complete the following program. When your program is done, click the "Share" button in the upper right hand corner, and copy/paste the URL to your project here. URL: What the project should do... The project should have the cat ask for a number. Save it as a variable x. Then calculate the largest power of 2 that is <= x. And tell the user that the answer you found is the largest power of 2 <= the number they gave you. If the user enter, 12 you'd tell them 8. If they entered 50, you'd tell them 32. Hint: Your program will be somewhat similar to the exponentiation program we did in class, but the formula will be different. First figure out how to do it on paper yourself before trying to do it in scratch. And here is how I suggest doing it... Take your number x that they entered, and (inside of a loop) keep dividing by 2 until x becomes less than 2. While that is happening, take another variable, call it z, and let it be 1 before the loop starts. Each time you divide x by 2, multiply z by 2. In the end, z should be the answer. Extra: If you finish that easily, then have the cat not only tell the user what the answer is, but which power of 2 it is. So instead of just 8, it would say "8 which is 2^3". Instead of 32, it would say "32 which is 2^5". Extra: If you get that done, then have the cat do something else after it finishes the calculations. Anything you like, have fun!