|
![]() | 作者: xuruijun [xuruijun]
![]() |
登录 |
If optionadd.Value = True Then result = x + y If optionsub.Value = True Then result = x - y If optionmult.Value = True Then result = x * y If optiondiv.Value = True Then result = x / y End If 最好可以说得明白点给我听好吗 我第一次学VB 有谁可以帮我改对这道题吗...谢谢了~ |
地主 发表时间: 04-07-25 16:22 |
![]() | 回复: Frankiez [frankiez84] ![]() |
登录 |
If optionadd.Value = True Then result = x + y end if If optionsub.Value = True Then result = x - y end if If optionmult.Value = True Then result = x * y end if If optiondiv.Value = True Then result = x / y end if 你这样连书都不看的照理不应该来回答你的 看置顶帖 |
B1层 发表时间: 04-07-25 17:39 |
![]() | 回复: xuruijun [xuruijun] ![]() |
登录 |
对不起。。。。我真该好好检讨了!![]() ![]() ![]() ![]() ![]() ![]() 谢谢你哦!!!! |
B2层 发表时间: 04-07-25 22:33 |
![]() | 回复: xuruijun [xuruijun] ![]() |
登录 |
不对哦。,还是一样情况不对!!! 怎么办啊, ![]() ![]() ![]() ![]() ![]() ![]() |
B3层 发表时间: 04-07-26 13:42 |
![]() | 回复: wwkkss [wwkkss] ![]() |
登录 |
If optionadd.Value = True Then result = x + y else if optionsub.Value = True Then result = x - y else if optionmult.Value = True Then result = x * y else if optiondiv.Value = True Then result = x / y End If 看这段代码应该是 然模拭计算器 才用到的。。 可以用条件语句啊。。 |
B4层 发表时间: 04-08-01 05:32 |
|
20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon
粤ICP备05087286号