Hi I'm new to c++ I have learned some and i've been working on a factorial program to give the factorial of a # 1-20. I have all my code worked out and everything seems fine I've been working on this for some time now and I just can't seem to find my problem. Heres all the code i have up to the end of file:
I did add a do-while loop and im getting the same error. and I probably should've said this earlier but the way i'm doing mine it's with a bunch of if and else if statements for each variable pretty much above mainly because that was the only way i know how to do it if that may be the problem.