#include <stdio.h>
#include <math.h>
#include <cmath>

int addnumbers(int,int);
float findsqrt(float);

void main()
{
int x=7,y=8,result;
float mydecimal=81,result2;
result=addnumbers(x,y);   //result is the return from the function (total)
printf("The result is %d\n",result);
result2=findsqrt(mydecimal);
printf("The result of the sqrt was %.2f\n",result2);
}

int addnumbers(int a,int b)
{
int total;
total=a+b;
return total;
}

float findsqrt(float c)
{
	float total;
	total=sqrt(c);
	return total;
}

