[(己解决)求助]请问这个程序哪里出问题了??我怎么也找不出来!急死我了!!
/* *Author: John Doe
Date Created: 21st January 2004
Description: The ollowing code is used to find the Area
and Circumference of a circle.* */
#define PI 3.14
void main()
{
int radius;
float area, circum, diameter;
prinf("Enter the radius of Circle: ");
scanf("%d",&radius);
printf("\n");
area = PI * radius * radius;
diameter = 2 * radius;
circum = PI * diameter;
printf("The Area of Circle is: %1.2f\n",area);
printf("The Circumference of Circle is: %1.2f\n",circum);
}
[此贴子已经被作者于2006-2-12 16:30:37编辑过]