Question: Write a C program that uses a function int fac(int n) to calculate the factorial of n. Your program should test and print the factorials
Write a C program that uses a function int fac(int n) to calculate the factorial of n. Your program should test and print the factorials of 5, 8, and 10.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
