C++ 大問題!!! |
尚未結案
|
asfg
一般會員 ![]() ![]() 發表:2 回覆:0 積分:0 註冊:2005-10-01 發送簡訊給我 |
點樣可以??: formula:{
圓周率(3.14) = 4- (4/3) (4/5) - (4/7) (4/9) - (4/11) ...
} Print a table that shows the value of 圓周率 approximated by 1 term of this series, by two terms, by three terms, etc. How mcuh if this terms of the series do you have to use before you first get 3.14? 拜託曬各位大大..... 另外追加: Write a programme to print out hollow square ...(input must within 2-20) requset user to input a non-negative integer to show different square~
for example: input = 5 : *****
* *
* *
* *
*****
input = 6 : ******
* *
* *
* *
* *
******
besides use switch case to show 2-20 既 square......... Help~
|
RedSnow
版主 ![]() ![]() ![]() ![]() ![]() ![]() 發表:79 回覆:1322 積分:845 註冊:2003-12-15 發送簡訊給我 |
為了便於他人的索引,也為了閣下的問題能及早獲得他人的協助,請參考版規要求將閣下的發問標題修改成符合題義的字樣: http://delphi.ktop.com.tw/topic.php?TOPIC_ID=18707 http://delphi.ktop.com.tw/topic.php?TOPIC_ID=58991 7 天天敲鍵盤 v 時時按滑鼠 8
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |