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?
I don't like people who doesn't do thr assignment themselves... Did you ever tried?? Do you have knowledge about recursion?? Ans me plzzzz....Doing a factorial program is not a big deal...you might have not gone thr recursion...Forget about recursion it can also be done using simple "for LOOP" only....