Transférer les fichiers vers 'TP2'

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

12
TP2/rayon.c Normal file
View File

@ -0,0 +1,12 @@
#include <stdio.h>
int main() {
float rayon ;
float resultat ;
const float pi = 3.141592653589793 ;
rayon = 10;
resultat = pi * rayon * rayon ;
printf("resultat = %f\n",resultat);
}