Skip to content

Instantly share code, notes, and snippets.

@Rajssss
Created February 12, 2019 02:59
Show Gist options
  • Save Rajssss/b7aabba66a188871fab289e87544ecd2 to your computer and use it in GitHub Desktop.
Save Rajssss/b7aabba66a188871fab289e87544ecd2 to your computer and use it in GitHub Desktop.
float product(float x, float y)
{
static float product;
product=x*y;
printf("\nProduct=%f",product);
}
float root(float x, float y, float z)
{
static float D;
D=sqrt(pow(y,2)-4*y*z;
return D;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment