← All problemsSign in

CODEHUNT Problem 3

IDENTIFY AND CORRECT #include int main() { char m[10], ch; int i; gets(m); scanf("%s", &k); for(i = 0; m[i] != '0'; ++i){ ch = m[i]; if(ch >= 'a' && ch 'z'){ ch = ch - 'z' - 'a' + 1; } m[i] = ch; } else if(ch >= 'A' && ch 'Z'){ ch = ch - 'Z' + 'A' - 1; } m[j] = ch } } printf(" %d", m) return 0; } . Input The first line contains a string S String can be of 100 words and second line c

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start