Which one of the following expressions Is the equivalent of the If activity from the picture?
Which one of the following expressions Is the equivalent of the If activity from the picture?
A . message = lf(number mod 2 = 0. "Even number", "Odd number")
B . message = lf(number mod 2 = 0. Odd number. Even number)
C . message = lf(number mod 2 = 0 then "Odd number" else "Even number")
D . message = lf(number mod 2 = 0 {"Odd number"} else {‘Even number"})
Answer: A
Explanation:
This expression evaluates if the number modulo 2 equals 0, which would mean it is even. If true, it assigns the string "Even number" to the variable message. If false (meaning the number is odd), it assigns "Odd number" to message
Latest UIPATH-ADPV1 Dumps Valid Version with 200 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments