I have to answer this question Write a program that lets you enter a positive number n and that prints out n!
(1!=1, 2!=1x2=2, 3! = 1x2x3=6, 4!=1x2x3x4=24, 5! = 1x2x3x4x5=120, etc.) and I really have no clue what to do. Now you don't have to answer this question, i'm just asking if you could get me some tips or a hint on how to answer it.
1 reply to this topic