please find mistake in my code

problem code : NAME1

while(n–)
{
string c[i];
cin>>c[i];
h+=c[i];
i++;
}

Hey @antassachan :wave:
you had not given whole code.

GIVE FULL CODE