討論串[問卦] 慟!有沒有程式不會寫的八卦?
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
int enterValue;. do. {. Console.Write("請輸入奇數為長邊:");. enterValue = Convert.ToInt32(Console.ReadLine());. if(enterValue % 2 == 0). {. Console.Write("輸入錯
(還有1290個字)
內容預覽:
給你參考拉. n 為輸入奇數. 以下開始我的構思. m=(n+1)/2. for i=1 to n. if i=1 or i=n then. //頭尾都*. for j=1 to n. 輸出*. next. elseif i<m then. //上三角形. for j=1 to n. if abs(
(還有298個字)
內容預覽:
安安. 是這樣啦. 本肥宅在練習寫程式. 題目是要輸出一個中間是空心菱形的正方形啦. 邊長由使用者輸入且必為奇數. 大guy4長這樣啦. *****. ** **. * *. ** **. *****. 這樣要怎麼寫啊. 本肥宅苦思已久還是想不出來. 有卦嗎. 嘻嘻. --. ※ 發信站: 批踢踢實
(還有709個字)
首頁
上一頁
1
下一頁
尾頁