Recent Question/Assignment

Create a program to output all perfect squares feom 1-n, where n is an input of the user. If the number is not a perfect square but divisible by 5, then output the factorial of the number. If the factorial of the number is divisible by 20 output asterisk(*) otherwise output the factorial itself