C语言初级问题求教~
#include <stdio.h>#include <math.h>
#define PI 3.14159
double
find_area(double redius);
double
find_circum(double redius);
void main()
{
double redius;
printf("Enter one number>\n");
scanf("%lf",&redius);
printf("%f%f\n",find_area(redius),find_circum(redius));
}
double
find_area(double r)
{
return(2.0*PI*r);
}
double
find_circum(double r)
{
return(PI*pow(r,2));
}
刚学C两个星期。。。很多东西不懂
想问怎么改上面的程序,讲输出的两个数值分开~