![]() |
#2
thanatus2008-09-20 23:35
|
#include "iostream.h"
int main()
{
float r;
float s;
const float pi=3.14F
cout<<"请输入半径:";
cin>>r;
s=pi*r*r;
cout<<"圆的面积是:"<<s<<endl;
return 0;
}
这个程序我怎么看都没错误。怎么一biuld就显示“有一个错误?
我用的是VC6。0