One of my assignments is to write a factorial function. I have no clue how to start this program. HELP!!
This is my assignment..
Example Outputs
Enter the number: 5
The factorial of 5 is 120
Enter the number: 0
The factorial of 0 is 1
Enter the number: -8
Invalid Input
how do i do this?