Swap value of x with a or b
Filed under SAP
The question
Given a function with three arguments x, a, and b where x equals either a or b, return the value of x swapped with the other variable.
No write-up yet. Related questions below have one.
Related SAP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.