HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Repetition (Loops) > problem:


125. 50484 - Number Of Letters

Guest
• Review clarifications (2)

Volume problems

• 080. 50248 - Power of two
• 085. 50333 - Series of Squares
• 090. 50456 - nth Digit of a Number
• 095. 50651 - Largest power of two
• 110. 50288 - Even numbers in even...
• 115. 50425 - Calculating Weekly Pay
• 118. 50514 - Bookkeeping
• 120. 50426 - Calculating Sales
• 125. 50484 - Number Of Letters
• 130. 50440 - Call Center
• 132. 50504 - School contest
• 135. 50392 - How much space
• 136. 50443 - Dajte Express
• 140. 50655 - Divisibility by 9
• 145. 50656 - Divisibility by 11
• 147. 50553 - Divisible by m
• 148. 50596 - Your Ride Is Here (US...

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