討論串[問題] C++問題
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者hankhank5345 (MPower)時間16年前 (2009/02/20 07:13), 編輯資訊
1
0
0
內容預覽:
這題小弟想很久但還是不會用function來寫,請問誰可以幫個忙?. write a function that has an double as a parameter. and returns a double through the function call.. The parameter
(還有744個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者pponywong (pony)時間16年前 (2009/02/20 07:58), 編輯資訊
0
0
0
內容預覽:
double tax(double income). {. double result = 0.0;. if(income >= 0 && income < 7550){. result = income * 0.1;. }. if(income >= 7550 && income < 30650)

推噓3(3推 0噓 4→)留言7則,0人參與, 最新作者nsysu90 (尊)時間16年前 (2009/04/26 23:17), 編輯資訊
0
0
0
內容預覽:
題目是這樣:. 假設銀行帳號之class宣告如下:. class BankAccount. {. public:. BankAccount(char n[],double b, int t); // 設定帳號名稱,本金金額及其數. static void setInterestRate(double
(還有1880個字)
首頁
上一頁
1
下一頁
尾頁