i cannot understand the squuence of this program at all
some one explain in details plz
#include<iostream>
using namespace std ;
void move(char,char,char,int) ;
int main()
{
int n;
cout<<"Enter the plates numbers \n";
cin>>n;
move('a','b','c',n) ;system("pause");}
void move(char x,char y,char z,int n){
if(n>1) move(x,z,y,n-1);
cout<<x<<"----->"<<z<<"\n";
if(n>1) move(y,x,z,n-1);
}