See the original problem on HackerRank.
Solutions
The problem is very simple: we just count how many capital letters the string has and we sum 1.
A C++ Solution:


Here is a Python solution by Yuri Valentini:


See the original problem on HackerRank.
The problem is very simple: we just count how many capital letters the string has and we sum 1.
A C++ Solution:


Here is a Python solution by Yuri Valentini:

