QuestionQ168

Variables and Arguments

Given the following variable assignments:

Question Image

What is the output of this conditional?

outputX = If(Clnt(doubleX + Cdbl(intX) + CDbl(stringX)) > 38.30, 1, 0)

Explanation

The numeric sum is 37.9. CInt converts a nonintegral numeric value to the nearest integer, producing 38. Because 38 is not greater than 38.30, the conditional returns 0.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!