I am having problem in pset2 initials i am getting only my first letter initialized infinitely .so, i need to know the problem to fix the errors.
{
// asks user for the name
string s = GetString();
for(int i = 0,n = strlen(s); i < n;i++)
{
if (islower(s[i = 0]))
{
printf("%c",toupper (s[i = 0]));
}
else
{
printf("%c",s[i = 0]);
}
}
printf("\n");
}