Run result should be something like this
Enter an integer
8 93 92
1 0 1
Press any key to continue
Type: Posts; User: joker209
Run result should be something like this
Enter an integer
8 93 92
1 0 1
Press any key to continue
from reading the problem more closely now and testing my program, none of the code in this thread enable someone to enter series of numbers(more than one) and reads them in one at a time and inputs...
Thanks everyone for the help, I finally got the program to run
thanks for the reply but all the number need to mutiply by 2 to be correct.
example from your program
6! = 60 but it suppose ot equal 120
if anyone can correst my program by rewriting he whole program it would be helpful because i dont really get what to so to correct it.
write a program that evaluates the factorial of the integer 1 to 5. print result in tabular format.
#include <stdio.h>
long factorial(long number);
int main()
{
Heres the problem
Write a program that inouts a serie of integer and pass them one at a time to function even which use the remainder operator to determine if an integer is even. The function...