#include <iostream>
using namespace std;
//declare factorial prototype
//no implementation is provided.
long factorial (int number); //maybe needs to be float etc.
//start of main program
void main (void)
{
int i = 0; //initialize a loop counter
int user_values[5] = 0; //define input array
long user_factorial[5] = 0; //define outut array
for (i = 0; i < 5; i++)
{
cout<<"Enter some number ";
cin>>user_values[i]; //read the user value
cout<<newline;
user_factorial[i] = factorial(user_values[i]); //calculate and store factorial
}
return;
} //end main