Problem
1. Generalize the program for solving the eight queens problem to the n queens problem. Your program should prompt for the value of n and display the solutions.
2. Using backtracking, write a program that solves summation puzzles in which each letter should be replaced by a digit, such as send + more = money Other examples are base + ball = games and kyoto + osaka = tokyo.