Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

# Let n be an integer and x a floating-point number. Explain the difference between n = x; and n = static_cast(x + 0.5); For what values of x do they

Let n be an integer and x a floating-point number. Explain the differencebetweenn = x;andn = static_cast(x + 0.5);For what values of x do they give the same result? For what values of x do they givedifferent results? What happens if x is negative?