/*---------------------------------------------------*/
/*  Program from lecture to demonstrate functions calling functions*/
/*  ECL 10/06/08                                      */

#include <stdio.h>

//Function prototypes go here
int fact(int n);

int combinations(int n, int k);

int main(void)
{
	int factorial = 0, n = 0, k=0;	//factorial
	printf("\nInput n, a number of things -- ");
	scanf("%i", &n);
	printf("\nInput k, how many things of n at a time -- ");
	scanf("%i", &k);

	//Fix This!! printf("\nThe factorial of %i = %i\n", n, fact_recurse(n));	//output number entered and factorial value

	return 0;
}	

int combinations(int n, int k)
{
//Write This!!



}

int fact(int n)	
{
  int fact = 1;
  while(n>1)
  {
	fact = fact*n;
	n--;
  }//end while block
  return(fact);
}//end fact











