Calculate the result of right-shifting an integer by n positions. Logical shift fills with 0; arithmetic shift preserves the sign bit. Equivalent to floor division by 2^n.
Enter the values for the scenario you are assessing. Calculate the result of right-shifting an integer by n positions. Logical shift fills with 0; arithmetic shift preserves the sign bit. Equivalent to floor division by 2^n. Use the bit shift right (>>) result to inform your calculation.