看板 [ MATLAB ]
討論串[問題] SWITCH 問題
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 2→)留言4則,0人參與, 最新作者biglongtoday (大長今)時間16年前 (2010/03/29 01:01), 編輯資訊
0
0
0
內容預覽:
ff=1;. while(ff). Gas= input ('Please input the name of gas(He,H2,O2,Cl2,CO2): ','s');. switch Gas. case 'He'. eval('a = 0.0341, b = 0.0237');ff=0;. c
(還有226個字)

推噓0(0推 0噓 2→)留言2則,0人參與, 最新作者DoMau (杜毛)時間16年前 (2010/03/26 00:35), 編輯資訊
0
0
0
內容預覽:
flag = 1;. while(flag). Gas= input ('Please input the name of gas(He,H2,O2,Cl2,CO2): ','s');. end. 這樣應該行 請測試. --. ,跟你說喔. 沒有永遠的再來一次. 只有勇敢的去試一次. --.

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者ernest7835 (意難忘)時間16年前 (2010/03/26 00:04), 編輯資訊
0
0
0
內容預覽:
利用SWITCH指令. Gas= input ('Please input the name of gas(He,H2,O2,Cl2,CO2): ','s');. switch Gas. case 'He'. eval('a = 0.0341, b = 0.0237');. case 'H2'. e
(還有273個字)
首頁
上一頁
1
下一頁
尾頁