I am programing for a while but for this i couldn\'t find an answer yet .
lets say i want to run on a loop when i change the names of the variables.
lets say i h
You can simple achieve this with defining an array as int ran[3] and then writing below code to get it:-
int ran[3]
ran[k % 3] = k;