Please,I need help with this Alphabet, number conversion. | Sololearn: Learn to code for FREE!

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

4/8/2021 9:11:41 AM

Baby

2 Answers

New Answer

+3

Your attempts ??

+2

You already posted this https://www.sololearn.com/Discuss/2749298/?ref=app