if(letter>=inital && letter<=end)//if any of the chara in the array equals the chara that is to replaced then
{
newresult+=c[i];//changes the chara
}

In the above code, you are...