HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginners > problem:


50894 - ASCII Codes

Guest
• Review clarifications (2)

Volume problems

• 50882 - Say Hello
• 50883 - Win or Lose
• 50894 - ASCII Codes
• 50886 - Even or Odd
• 50892 - Even Numbers
• 50907 - Second Largest
• 50891 - Smallest Number
• 50893 - Print All Numbers
• 50888 - Extracting Digits
• 50905 - Convert KPH to MPH
• 50881 - Exchange the Values

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.

ASCII Codes

Write a program to print the ASCII codes of the uppercase English letters from A to Z (The letter going to be entered by user ).

Input: An English upper case letter.

Output: ASCII Codes of the letters starting from A (65).

Sample Input1:

Sample Input2:

D

H

Sample  Output1:

Sample  Output2:

65 66 67 68

65 66 67 68 69 70 71 72

 

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

www.contester.ru