Swap two number

activities

#1

in which activities swap operation conditions we needs to write


#2

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.


#3

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


#4

Asssign activity .