File: pi.c

package info (click to toggle)
gccintro 1.0-5
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 3,028 kB
  • sloc: ansic: 1,004; sh: 506; cpp: 172; makefile: 16
file content (9 lines) | stat: -rw-r--r-- 116 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#include <math.h>
#include <stdio.h>

int 
main (void) 
{
  printf ("the value of pi is %f\n", M_PI);
  return 0;
}