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

PROGRAMMING:Word encryption analysis

Luz5年前 (2021-05-10)题库417
Input an English word (composed of six lowercase English letters), and encrypt the word according to the following process: first convert the lowercase letter in the English word into the corresponding uppercase letter, and then divide the ASCII code of the uppercase letter by 10 and take the remainder, so as to get a six digit integer password.
###Input format:
Input in a line to give an English word composed of six lowercase English letters.
###Output format:
According to the rules into a six digit integer password, and output conversion process.
###Input example:
```in
friday
```
###Output example:
```out
f->F->0
r->R->2
i->I->3
d->D->8
a->A->5
y->Y->9
```







answer:If there is no answer, please comment