Enhance your program from Exercise 14 by outputting the position of the
largest number and the largest number of the sequence a0, a1, a2, . . ., ak.
(For example, the largest number of the sequence 75, 226, 113, 340, 170,85, 256, 128, 64, 32, 16, 8, 4, 2, 1 is 340, and its position is 4.) Test your
program for the following values of x: 75, 111, 678, 732, 873, 2048, and
65535.

Sorry, but we don't do your homework for you. Please try to do it yourself, and if you are still having problems then post your code here and we can try to help you. No effort, no help.