/* Note:Your choice is C IDE */
#include "stdio.h"
#include "math.h"
double add(double x,double y){
double result;
result=sqrt(x*x+y*y);
return result;
}
void main()
{
float x,y,result;
printf("input the x,y:");
scanf("%f,%f",&x,&y);
result=add(x,y);
printf("the num is:%f\n",result);
}
/* Note:Your choice is C IDE */
#include "stdio.h"
int fa(int n)
{
if(n<=0)
return 1;
else
return n*fa(n-1);
}
main()
{
int c;
c=fa(5);
printf("%d",c);
}