HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Repetition (Loops) > problem:


125. 50484 - Number Of Letters

Guest
• Review clarifications (2)

Volume problems

• 027. 50548 - Albanian Airlines
• 028. 50483 - Group Total
• 033. 50588 - Processing the list of n...
• 035. 50573 - Count and Sum
• 044. 50597 - Drawing Diamonds
• 058. 50574 - Triangular Numbers
• 072. 50473 - Counting Circles Positions
• 118. 50514 - Bookkeeping
• 125. 50484 - Number Of Letters
• 132. 50504 - School contest
• 136. 50443 - Dajte Express
• 147. 50553 - Divisible by m
• 148. 50596 - Your Ride Is Here (US...
• 148. 50596 - Your Ride Is Here (US...
• 150. 50763 - Valid Password
• 151. 50560 - Max Distance
• 153. 50368 - Right-most non zero d...

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Prepared by Ibrahim Mesecan.

Number Of Letters

Question: You will be given one line of text containing different ASCII characters. Find out the number of uppercase and lowercase letters.

Note: You can use getline function to read one line of text.

Input specification
You will be given one line of text consisting different ASCII characters. The line will not have more than 250 characters.

Output specification
Show two integer numbers:

  1. Number of uppercase letters
  2. Number of lowercase letters

 Sample Input I     Sample Output I   
(Text) containing-different ASKEY :) characters.
6 32


Для отправки решений необходимо выполнить вход.

www.contester.ru