Design a program which ask the user which application to do: after choosing from factorial or triangle(magicSquare), the program should then ask again the user for a positive interger.
it should print and extract the generation of factorial or triangle.