Question: Need help figuring out why my code doesn't work. I have: void lowerNoPunctuation (string str, string p){ int i,j; for(i=0;i int b = str.length(); for(j=0;j

Need help figuring out why my code doesn't work. I have:
void lowerNoPunctuation(string str, string p){
int i,j;
for(i=0;i
int b = str.length();
for(j=0;j
if(str[j] == p[i]) str.erase(j,1);
b = str.length()
}
}
for(i=0;i } I keep getting: 
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
