Skip to content

Instantly share code, notes, and snippets.

@suchi
Created July 13, 2011 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suchi/1079576 to your computer and use it in GitHub Desktop.
Save suchi/1079576 to your computer and use it in GitHub Desktop.
Practice of Programming p.169
#include <stdio.h>
#define _USE_MATH_DEFINES 1
#include <math.h>
int main()
{
int n = 1;
double d = M_PI;
printf("%d %f\n", d, n);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment