-->
当前位置:首页 > 题库

PROGRAMMING:Step into the computer series (1) view the ASCII code of characters

Luz5年前 (2021-05-10)题库433
As we all know, all the data in the computer must be represented by binary numbers when they are stored and calculated. In order to make everyone communicate with each other without causing confusion, the Americans have introduced the ASCII code to unify the binary number of some common symbols. ASCII code consists of eight bits (1 byte), the highest bit is zero, and the last seven bits are variable, covering Arabic numerals, English letters and computer control characters.
Your task today is to write a program to input characters and output the corresponding ASCII code.
###Input format:
One character per line
###Output format:
Output the corresponding ASCII code
###Input example:
Here is a set of inputs. For example:
```in
nine
```
###Output example:
The corresponding output is given here. For example:
```out
fifty-seven
```







answer:If there is no answer, please comment