返回列表 發帖
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.     int a;
  6.   cout<<"請輸入圓的半徑:";
  7.   cin>>a;   
  8.   cout<<"圓面積為:"<<a*a*3.14<<endl;   
  9.    system("pause");
  10.   return 0;
  11.    
  12. }                        
複製代碼

TOP

返回列表