From bba3a07749a5ad831d04e018c3038befbeafc1a0 Mon Sep 17 00:00:00 2001 From: Jose-maria FULLANA Date: Wed, 6 Oct 2021 20:31:14 +0200 Subject: [PATCH] =?UTF-8?q?Transf=C3=A9rer=20les=20fichiers=20vers=20'TP2'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TP2/pi.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 TP2/pi.c diff --git a/TP2/pi.c b/TP2/pi.c new file mode 100644 index 0000000..ca10816 --- /dev/null +++ b/TP2/pi.c @@ -0,0 +1,11 @@ +#include +#include +int main() { + + const float pi = 3.141592653589793 ; + + float pi_tan = acos(-1) ; + + printf("%.16f %.16f %.16f \n",pi,pi_tan,M_PI); + +}