Home > Back-end >  C how to complete the following requirements
C how to complete the following requirements

Time:09-27

Xiao Ming is in the United States military spy liaison, responsible for the compilation of the secret letter, he will responsible for domestic vomited into random number and sent to the United States agent provocateur, domestic send letters at a time, xiao Ming will each letter ASCII apart summation, arrange three and output becomes the code Numbers, would you please help him to programming to implement the code to compile system,

CodePudding user response:

Will each letter ASCII apart sum

Specific what meaning?

CodePudding user response:

reference 1st floor liups response:
to each letter of the ASCII apart sum

Specific what meaning?



For example A ASCII decimal is 65 then I 65 apart into 6 and 5 and add + 5

CodePudding user response:

refer to the second floor D0wen response:
Quote: refer to 1st floor liups response:

Will each letter ASCII apart sum

Specific what meaning?



For example A ASCII decimal is 65 then I 65 apart into 6 and 5 and add + 5

So this and want to take a few? Take two, for example, the one thousand is only one and how to deal with?

CodePudding user response:

Arrange output

Is sorted? Ascending or descending order? Or the original order?

CodePudding user response:

reference liups reply: 3/f
Quote: refer to the second floor D0wen response:

Quote: refer to 1st floor liups response:

Will each letter ASCII apart sum

Specific what meaning?



For example A ASCII decimal is 65 then I 65 apart into 6 and 5 and add + 5

So this and want to take a few? Take two, for example, the one thousand is only one and how to deal with?



I didn't understand
Given three letters: "r" "u" "n"
Then their ASCII value as I said before I add
And then arranged for example A two ASCII value added and the ASCII value of 11 B two additive and 12
The output is the direct output of 1112

CodePudding user response:

Use the map a little bit better
  • Related