Test case failed plz help

test case 1 failed

#include
using namespace std;
int main() {
int rowSTART = 0,rowEND,colSTART = 0,colEND;
cin>>rowEND>>colEND;
int arr[rowEND][colEND];
for(int row = 0;row <rowEND;row++){
for(int col = 0; col < colEND;col++){
cin>>arr[row][col];
}
}
if(rowEND>1 and rowEND<10 and colEND>1 and colEND<10){
while(rowSTART<rowEND and colSTART<colEND){
//first col
for(int col = colSTART;col <colEND;col++){
cout<<arr[rowSTART][col]<<", “;
}
rowSTART++;
//first row
for(int row = rowSTART;row <rowEND;row++){
cout<<arr[row][colEND-1]<<”, “;
}
colEND–;
//bottom line
for(int col = colEND -1;col >= colSTART;col–){
cout<<arr[rowEND-1][col]<<”, “;
}
rowEND–;
//up
for(int row = rowEND-1;row >=rowSTART;row–){
cout<<arr[row][colSTART]<<”, ";
}
colSTART++;
}
cout<<“END”;
return 0;
}
}