HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Strings > problem:


50484 - Number Of Letters

Guest
• Review clarifications (2)

Section problems

• 50908 - Buy 1 Get 1
• 50258 - String manipulations
• 50264 - String Multiplication
• 50429 - Secret Message
• 50484 - Number Of Letters
• 50511 - Class Average
• 50502 - Welcome Andi - 1
• 50503 - Welcome Andi - 2
• 50926 - School Mail Merge
• 50764 - Fast Typing Competition
• 50533 - Contacts List
• 50763 - Valid Password
• 50596 - Your Ride Is Here (USACO)

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