There is a word, it is necessary to break it down by letters and to assign each letter a serial number in the order of the location of this letter in the alphabet. Example
Created a class with two fields of type char
and int
. Reached before I received a serial number in the alphabet, and how to replace numbers from the alphabet with a sequence number in the word I can not think of. It turns out this list:
Р А Д О С Т Ь 17 1 5 15 18 19 29