← Back to Loops
Question 277
ASCII Codes of A to E
ASCII Codes of A to E
For each uppercase letter fromAtoE, print its ASCII code on its own line (see Expected Output). Loop acharfrom'A'to'E'and print it with the%dformat.
Expected Output:
65 66 67 68 69
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Loops
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (p, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.