Please,I need help with this Alphabet, number conversion. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please,I need help with this Alphabet, number conversion.

Suppose we define f(A)=1,f(a)=-1,f(B)=2,f(b)=-2,...f(Z)=26,f(z)=-26; Based on this relation, enter an alphabet letter(x)('A'..'Z' or 'a'..'z') and an integer(y), calculate on f(x)+y。 https://code.sololearn.com/cm5haL7aO9n6/?ref=app

8th Apr 2021, 9:11 AM
Baby
Baby - avatar
2 Answers
+ 3
Your attempts ??
8th Apr 2021, 9:22 AM
TOLUENE
TOLUENE - avatar
8th Apr 2021, 9:26 AM
Ipang