what is wrong in this code? (hastag include iostream is not visible in the code but it is there)
include<iostream
using namespace std;
void magical_park(char a[100][100], int n, int m, int k, int s) {
bool success=1;
for (int i=0; i<m; i++){
for (int j=0; j<n; j++){
if (s<k){
success=0;
break;
}
if(a[i][j]==.){
s-=2;
}
else if(a[i][j]==*){
s+=5;
}
else if(a[i][j]==#){
break;
}
if (i!=n-1){
s--;
}
}
}
if (success){
cout<<"yes"<<endl;
cout<<s<<endl;
}
else{
cout<<"no"<<endl;
}
}
int main() {
int n, m, k, s;
cin>>“Enter the dimensions of the matrix”;
cin>>n>>m;
cin>>“Enter the threshold energy and the initial energy”;
cin>>k>>s;
char a[100][100];
cin>>“Enter the matrix”;
for(int i=0;i<m;i++){
for (int j=0;j<n;j++){
cin>>a[i][j];
}
}
magical_park(a, m, n, k, s);
return 0;
}