#include #include #include #include #include #include #include void printShortestPath(int n, int i_start, int j_start, int i_end, int j_end) { int count=0,i=0; char A[1000][3]; /* while(i_start!=i_end&&j_start!=j_end){ if(i_start>i_end&&j_start>j_end){ count++; A[i][0]='U';A[i][1]='L';A[i][2]=' ';i++; } if(i_startj_end){ count++; A[i][0]='L';A[i][1]='L';A[i][2]=' ';i++; } if(i_start>i_end&&j_startj_end){ count++; A[i][0]='L';A[i][1]=' ';A[i][2]=' ';i++; } if(i_start==i_end&&j_start