Swap two number

in which activities swap operation conditions we needs to write

I’m sorry, I don’t understand entirely. You can swap any two variables, say A and B, with a temporary variable of the same type and three Assign activities:

tmp = A
A = B
B = tmp

Put these inside an If activity if the swap should only occur in certain conditions.

I know the logic but I dint get to know in which activity I needs to write the logic code

Asssign activity .