#include <iostream>
using namespace std;
int main()
{
double r,pi=3.1415;
cout<<"請輸入圓半徑:";
cin>>r;
cout<<endl<<r*r*pi;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
double r,pi=3.1415;
cout<<"請輸入圓半徑:";
cin>>r;
cout<<endl<<r*r*pi;
return 0;
}
0 意見