All pastes #113102 Raw Edit

Something

public text v1 · immutable
·published 2006-08-03 11:12 UTC
rendered paste body
#include <stdio.h>
 main()
{
 float surface,rayon;
 printf("quel est le rayon du cercle?\n");
 scanf("%f,&rayon");
 surface=3.4*rayon*rayon;
 printf("\f l'air du cercle est egal donc a %f,surface"); 
}



moi avec la source ki suit ca va

#include <stdio.h>

int main()
{

 float rayon=0, aire=0, pi=3.14159;

 printf("quel est le rayon du cercle?\n");
 scanf("%f",&rayon);
 printf("le rayon entrer est : %f\n",rayon);

 aire=pi*rayon*rayon;
 printf("l'air du cercle est egal donc a %f",aire);

 printf("\n\n\nPress enter to exit");
 getchar();
 return(0);
}