✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
void loopingThroughString(string n) {
for(i = 0; i < n.size(); i++) {
cout << “Letter in position i"<< n[i] << endl;
}
}