Thursday, June 09, 2011

Programita de recuerdo...

#include
#include
#define PI 3.1416f
int main(){
float radio, longitud;
printf("Introduce radio: ");
scanf("%f",&radio);
longitud=2.f*PI*radio;
printf("La longitud es"
"de radio %.2f es %.2f\n",radio,longitud);
getch();
return 0;
}

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home