4. String

4.5 Print string in capital letters using upcase

Ruby provides the upcase method to print a string in capital letters.