After choosing from factorial or triangle magicsquare


Create a program that ask the user which application to perform:
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 as shown on the sample out.

Enter a number:4
entering: N=4
entering: N=3
entering: N=2
entering: N=1
returning 1
returning 2
returning 6
returning 24
press any key to continue

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: After choosing from factorial or triangle magicsquare
Reference No:- TGS0141908

Expected delivery within 24 Hours