close
Blogtrottr
批踢踢實業坊 ask 板
 
[請問] 關於程式怎麼寫...
Dec 26th 2014, 02:55, by bernard0929

作者bernard0929 (笨熊康誥)

看板ask

標題[請問] 關於程式怎麼寫...

時間Fri Dec 26 02:55:09 2014

各位朋友大家好 打擾了.... 人家是十年磨一劍 而我卻是大學念十年 終於到了準備畢業的關頭 卻有一題BCC的程式語言寫不出來 還請相關高手幫幫忙 感激不盡啊 題目:I=5 FOR I=1 TO 5 J=1 FOR J=1 TO I PRINT"*";(印出*,不換行) J=J+1 NEXT J PRINT(換行) I=I+1 NEXT I 小弟的寫法: (1) I=1,J=1 FOR J=1 TO 1 J=1+1=2,STOP LOOP (2) I=2,J=1 FOR J=1 TO 2 J=2+1=3,STOP LOOP (3) I=3,J=1 FOR J=1 TO 3 J=3+1=4,STOP LOOP (4) I=4,J=1 FOR J=1 TO 4 J=4+1=5,STOP LOOP (5) I=5,J=1 FOR J=1 TO 5 J=5+1=6,STOP LOOP (6) I=6,EXIT LOOP RESULT: * ** *** **** ***** 但總覺得似乎哪裡怪怪的...拜託大家指點,謝謝。 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.115.49.225 ※ 文章網址: http://www.ptt.cc/bbs/ask/M.1419533711.A.8B3.html bernard0929:轉錄至看板 Wanted 12/26 02:56

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 nbv14tiaw18li 的頭像
    nbv14tiaw18li

    進擊的巨人14, 進擊的巨人線上看, 進擊的巨人漫畫, 進擊的巨人遊戲, 進擊的巨人 動畫, 進擊的巨人 線上漫畫, 進擊的巨人14線上看, 進擊的巨人13, 進擊的巨人 h, 進擊的巨人op

    nbv14tiaw18li 發表在 痞客邦 留言(0) 人氣()