VIRATISM - editorial

PROBLEM LINK:

Practice
Contest

FAREWELL MR. VIRAT

PROBLEM CODE: VIRATISM

DIFFICULTY: Easy

This question involves just the implementation of the 3 rules that were presented in the question.

  1. Once you detect a full stop anywhere, move to the next line.

  2. The starting letter of a line must be capitalised

  3. The code should not print any numbers if present

The following code illustrates the same

Setter’s code: Solution