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); + +} +