Factorial functionThe second function would work well? it seems that will only do n*(n-1), if you know what i mean.
Program Closes UnexpectedlyTry adding cin.get() after all inputs and before return 0; it works with me.
How do count the amount of words in a string?Try creating a loop something like:
if [msgl[a]==x] //change x wit...
Factorial functionI was at school when i started thinking of making a factorial calc. I arrived home and after some er...