can anyone come up with a solution for this ? real quick for me?
the factorial of a nonnegative integer n is written n! ("n factorial") and is defined as follows: n!=n*(n-1)*(n-2)*.....*1(for values of n greater than to 1)
and n!=1 (for n=0 or n=1).
For example, 5!=5*4*3*2*1, which is 120. Use a while structure for the following..write a program that reads a nonnegative integer and computes and prints its factorial.
can anyone come up with a solution for this ? real quick for me?
If anyone could this for me thanks.
That's the second piece of homework you've posted here asking for a solution, with no attempt on your own part to work it out yourself. And that's after I spent time to give you an approach to problem solving yesterday.
If you can't do the course go find something more suitable.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.