Hi, I've searched through the forums and can't seem to find an open topic about randomizing the numbers in an array.

I have an array with 4 cells and I need to randomize the numbers 0-3 without duplicating any of them.

I'm fairly new to programming, but this seems like something that could be resolved with simple logic..unbeknownst to me.

i.e. - int myArray [4] = {random # 0-3, random # 0-3, random # 0-3, random # 0-3};

...where each number wouldn't duplicate any of the others.

Sorry if that formatting is confusing, and thank you for your help.