From f9db7774c5900e073f58bb878fd8a47a21b7dfdc Mon Sep 17 00:00:00 2001 From: Jose-maria FULLANA Date: Wed, 6 Oct 2021 20:31:30 +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/rayon.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 TP2/rayon.c diff --git a/TP2/rayon.c b/TP2/rayon.c new file mode 100644 index 0000000..35abe38 --- /dev/null +++ b/TP2/rayon.c @@ -0,0 +1,12 @@ +#include +int main() { + float rayon ; + float resultat ; + const float pi = 3.141592653589793 ; + + rayon = 10; + resultat = pi * rayon * rayon ; + printf("resultat = %f\n",resultat); + +} +