#include
using namespace std;
int spiral(int a[][10000],int r,int c){
int srow=0,scol=0,erow=r-1,ecol=c-1;
while(srow<=erow&&scol<=ecol){
for(int i=srow;i<=erow;i++){
cout<<a[i][scol]<<", “;
}
scol++;
for(int j=scol;j<=ecol;j++){
cout<<a[erow][j]<<”, ";
}
erow–;
if(ecol>scol){
for(int i=erow;i>=srow;i--){
cout<<a[i][ecol]<<", ";
}ecol--; }
if(erow>srow){
for(int j=ecol;j>=scol;j--){
cout<<a[srow][j]<<", ";
}srow++;
}
}cout<<“END”;
return 0;}
int main(){
int a[10000][10000]={0},r,c;
cin>>r>>c;
int value=11;
for(int i=0;i<r;i++){
for(int j=0;j<c;j++){
a[i][j]=value++;
}value=value+6;}
spiral(a,r,c);
}
why this code is showing errors?