Answer the question
In order to leave comments, you need to log in
How to fold letters?
Suppose the smallest digit is a, the maximum is 9
a-zA-Z0-9
What algorithm/principle to add letters?
a+a = b
as if 1+1 = 2
b + c = e (2+
3
)
--------- what i wanted here
Answer the question
In order to leave comments, you need to log in
Study the topic "number systems". Then "arithmetic operations in various number systems". And then everything will be clear.
here, for example, book.kbsu.ru/theory/chapter4/1_4_10.html for operations.
(in your case it will be 62-decimal number system.)
1. Take matches (explain to mom what to do).
2. You inscribe pieces of paper with your secret signs and pour the required number of matches on them.
3. Folding matches.
C has a function itoa that takes base as the base of the radix. Suddenly, 36 is what you need. True, numbers will go first, then letters. If it is necessary on the contrary, we look at the implementation , we fix it where necessary.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question