Challenge encoding/decoding | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 13

Challenge encoding/decoding

If you have that scenary a=1 e=25 i=81 o=225 u=441 then code a program: - Which complete equivalent for each letter in the alphabet. - Decode that message 361 225 144 225 144 25 1 324 196 - Let user to encode any message. You can use any language in Sololearn.

13th Jan 2018, 1:20 AM
Daniel
Daniel - avatar
11 Answers
13th Jan 2018, 1:38 AM
Nikky Amresh
Nikky Amresh - avatar
+ 9
Ruby, anyone? * 169 1 625 400 64 25 9 225 16 25 4 25 529 81 400 64 625 225 441 ! * https://code.sololearn.com/crUr1C7kBjJi/#rb
15th Jan 2018, 5:41 AM
noobcøder
noobcøder - avatar
+ 6
https://code.sololearn.com/caQiNsYjUJIH/?ref=app
13th Jan 2018, 12:49 PM
Louis
Louis - avatar
13th Jan 2018, 2:53 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 4
great question i felt
14th Jan 2018, 7:12 PM
SAKSHI
SAKSHI - avatar
13th Jan 2018, 1:40 AM
code learner
code learner - avatar
14th Jan 2018, 1:40 AM
Afif_
Afif_ - avatar
+ 2
S o l o l e a r n. The n-th letter of the alphabet translates to n^2.
13th Jan 2018, 1:36 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
My try, encodes alphabeticals only: https://code.sololearn.com/cc044IOwwikx/#java
16th Jan 2018, 10:36 AM
István Ócsai
István Ócsai - avatar
+ 1
book marking also check my challenge posted just 1 min before yours https://www.sololearn.com/discuss/999595/?ref=app
13th Jan 2018, 1:26 AM
code learner
code learner - avatar
+ 1
I am too busy now so will write code later
13th Jan 2018, 1:36 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar