Assume that d is a double variable. Write an if statement that assigns d to the int

Question:

Assume that d is a double variable. Write an if statement that assigns d to the int variable i if the value in d is not larger than the maximum value for an int.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: