HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


50953 - ASCII Codes - Reverse

Section problems

• 50888 - Extracting Digits
• 50893 - Print All Numbers
• 51109 - Integer to English
• 50905 - Convert KPH to MPH
• 50962 - Find the Character
• 50974 - Area of the circle
• 51110 - The area of a circle
• 50967 - Finding Square Roots
• 50953 - ASCII Codes - Reverse
• 50960 - Number of Heart Beats
• 50885 - Calculate the Average
• 51108 - First Unique Character
• 50887 - Average of Test Scores
• 50904 - Print All Prime Numbers
• 50895 - Hours Minutes and Seconds
• 50902 - Translate Score into Grade
• 50938 - Translate Score into Grade

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 - Reverse

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

Input: An English upper case letter.

Output: ASCII Codes of the letters from X to A.

Note: ASCII code of A is 65.

Sample Input1:

Sample Input2:

C

L

Sample  Output1:

Sample  Output2:

67 66 65

76 75 74 73 72 71 70 69 68 67 66 65

 

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

www.contester.ru