Skip to content

Instantly share code, notes, and snippets.

@rsnemmen
Created June 9, 2017 13:49
Show Gist options
  • Select an option

  • Save rsnemmen/662c821057643bf34d87dfcd45ece513 to your computer and use it in GitHub Desktop.

Select an option

Save rsnemmen/662c821057643bf34d87dfcd45ece513 to your computer and use it in GitHub Desktop.
How to use the number Pi in C
#include <stdio.h>
#include <math.h>
int main(int argc, char *argv[]){
printf("%f \n", M_PI);
return(0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment