代码:第四章:Page。108。4(1),分段函数:Private Sub Command1_Click()Dim x As Single, y As Singlex = Val(InputBox(assign a number to x, Number x, 0)If x 1 Theny = xElseIf x = 1 Theny = 3 * x - 2Elsey = 4 * x - 12End IfPicture1.Print when x=; x; then y=; yEnd SubPrivate Sub Command2_Click()EndEnd Sub4(2):Private Sub Command1_Click()RandomizeFor i = 1 To 100n = Int(Rnd * (99 - 10 + 1) + 10)Text1 = Text1 + CStr(n) + Select Case n C
Copyright © 2018-2021 Wenke99.com All rights reserved
工信部备案号:浙ICP备20026746号-2
公安局备案号:浙公网安备33038302330469号
本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。