#define PI 3.14
Action()
{
float r=4.5,s;
double r1=22.36,s1;
long double r2=876.99,s2;
s=PI * r *r;
s1=PI * r1 * r1;
s2=PI * r2 * r2;
lr_output_message("半径为%0.2f的面积为:%f .",r,s);
lr_output_message("半径为%0.2f的面积为:%f .",r,s1);
lr_output_message("半径为%0.2f的面积为:%f .",r,s2);
return 0;
}
Action()
{
float r=4.5,s;
double r1=22.36,s1;
long double r2=876.99,s2;
s=PI * r *r;
s1=PI * r1 * r1;
s2=PI * r2 * r2;
lr_output_message("半径为%0.2f的面积为:%f .",r,s);
lr_output_message("半径为%0.2f的面积为:%f .",r,s1);
lr_output_message("半径为%0.2f的面积为:%f .",r,s2);
return 0;
}