1. 首页
  2. 课程学习
  3. 嵌入式
  4. VB四则运算

VB四则运算

上传者: 2018-12-26 11:05:51上传 VBP文件 646B 热度 71次
加减乘除的一些简单运算! Dim No As Long Dim OkNo As Long Dim s As Long Private Function Operator() As String Dim x As Long Randomize x = Int(4 * Rnd) Select Case x Case 0 Operator = "+" Case 1 Operator = "-" Case 2 Operator = "×" Case 3 Operator = "÷" End Select End Function
用户评论