題意
我們老師出了一題問題
Write the visual basic.net code that corresponds to the flowchart shown in
圖(是一個巢狀結構的圖) Store the salesperson's code,which is entered in the
uicodetextbox control,in an integer variable named code。store the sales
amount,which is entered in the uisalestextbox control,in a single variable
named sales。Display the result of the calculation,or the error message
in the uiMsglabel control。
流程圖的意思大概如下:Get code,sales 如果code等於1或者2 display Sales*0.12
不是的話 如果CODE=3 SALES*0.15
這題是要求我寫符合題意的的程式出來 還是寫出按鈕裡面的假碼?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.135.27.202
推
05/31 14:52, , 1F
05/31 14:52, 1F
推
05/31 17:45, , 2F
05/31 17:45, 2F
Visual_Basic 近期熱門文章
PTT數位生活區 即時熱門文章