← All problemsSign in

Newspaper Formatting

Rahul is a newspaper editor with a strict attitude towards proper formatting of the sentences. According to him the first letter of every word of a sentence must be in capital letters, and the rest of the word should be in small letters. You were hired recently as an intern at the newspaper office whose job is to adjust the formatting of the sentences as specified by Rahul. Since you know program

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