Thursday, September 10, 2015

C++ Program to Computer N!

Write a program that lets a user enter N and that outputs N! (meaning N*(N-1)*(N-2)*…*2*1). Hint: Initialize a variable totalValue to N, and use a…


No comments:

Post a Comment