Your task is to solve the following inequality using a for loop:
The value of x will be given by the input. You need to know the value of n to fulfill two conditions:
- The inequality is correct;
- The expression is the minimum possible.
Tip: The loop condition is value < x.
Tip: With each loop iteration, you need to multiply the value variable by two and increase the degree variable by one.