Rotation of string error

I wrote the same code as explained in the video but I’m getting an error that an array cannot be declared as int[int]. This is my code https://ide.codingblocks.com/s/135474

You are trying to use ‘i’ as array in line 27 (i[s]=i[j]:wink: while you have declared i as int. Please either make i an array or use array.