#include <stdio.h>
int radius, area;
int main()
{
printf( "Enter radius (i.e. 10): " );
scanf( "%d", &radius );
area = (int) (3.14159 * radius * radius);
printf( "/n/nArea = %d/n", area );
return 0;
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266578.html