I need a program, help please
If someone can help me, I need a program in Java that will do the following:
find a solution for a numerical riddle. A numerical riddle is made of letters and signs for arithmetic operations (+,- and =), for example B+AB=BA
Different letters are for different digits. Same letters are for same digits. The solution of the riddle is making the letters into digits that will give a correct equation. For example, for the riddle AB+B=BA, the solution could be 89+9=98
The riddles are placed in a file, where every line of the file is one riddle.
The output should be every possible solution for every of the riddles of the file.
If the first digit of the statement is 0, the solution shouldn't be printed. For example, AB+B=C, one solution is 01+1=2, but it shouldn't be in the output.
If someone can help me, write me a private message please, I would prefer if you do not write in the thread.