Transférer les fichiers vers 'TP2'

This commit is contained in:
Jose-maria FULLANA 2021-10-06 20:31:14 +02:00
parent e7e36c8bcb
commit bba3a07749
1 changed files with 11 additions and 0 deletions

11
TP2/pi.c Normal file
View File

@ -0,0 +1,11 @@
#include <stdio.h>
#include <math.h>
int main() {
const float pi = 3.141592653589793 ;
float pi_tan = acos(-1) ;
printf("%.16f %.16f %.16f \n",pi,pi_tan,M_PI);
}