#include <stdio.h>
int calculate(int,int);


void main()
{
int x=5,y=8,total;

total=calculate(x,y);   //call calculate()
			//total has the value returned 
			//from the function

printf("The answer is %d\n\n",total);

}


int calculate(int i,int j)
{
int result;
result=(i * j)/2;
return result;
}

