write a program that evaluates the factorial of the integer 1 to 5. print result in tabular format.
Code:#include <stdio.h> long factorial(long number); int main() { int i,number; for (i=1;i<=5; i++) { printf("%2d!=%1d\n", i, factorial (number)); } return 0; } long factorial(long number) { if (number <=2) { return 1; else { return (number*factorial(number-1)); } } }