HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Strings > problem:


50484 - Number Of Letters

Guest
• Review clarifications (2)

Section problems

• 50761 - Magic Words
• 50760 - Hexatridecimal Sum
• 50759 - Text Statistics
• 50246 - Making Potions
• 50258 - String manipulations
• 50264 - String Multiplication
• 50307 - Palindromes
• 50315 - Pig Latin
• 50484 - Number Of Letters
• 50323 - Filtering Contact List
• 50409 - Random Password Generator
• 50763 - Valid Password
• 50429 - Secret Message
• 50511 - Class Average
• 50502 - Welcome Andi - 1
• 50503 - Welcome Andi - 2
• 50926 - School Mail Merge

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