1.

SATURN+ URANUS= PLANETSare called cryptorithms or alphabetical coding. Where an alphabet is assigned a code so that the problem is to be solved using given summation. Write a program to solve such questions, which prints the letter and its corresponding digits that satisfy the given addition.​

Answer»

Explanation:8 7 3 4 9 0 4 9 7 0 4 81 3 7 0 5 3 8Explanation:SATURN+ URANUS= PLANETSN + S = S => N = 0U + N = E  => U + 0 = E => there must be a carry=> U + 1 = EA + R = A  => There must be a carry=> A + R + 1 = 10 +A=> R = 9P is Carried => P = 1R + U = T=> 9 + U = T=> 9 + U = 10 + T=> U = T + 1S + U + 1 = 10 + LUsing all above data and a bit of hit & Trial we can getS = 8  A = 7  T = 3  U=4  R = 9  N = 0U = 4  R = 9  A = 7  N = 0 U = 4  S = 8P = 1    L= 3   A=7   N = 0 E = 5  T = 3  S = 8 8 7 3 4 9 0 4 9 7 0 4 81 3 7 0 5 3 8



Discussion

No Comment Found