作者kofsamer (阿承)
看板Visual_Basic
标题题意
时间Wed May 31 02:43:44 2006
我们老师出了一题问题
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
1F:推 LPH66:Write the visual basic.net code 所以是写程式 05/31 14:52
2F:推 kofsamer:谢谢! 05/31 17:45