用VB布尔表达式表示密码 “happy”或输入次数大于等于三次,其中密码用变量password表
答案:3 悬赏:60
解决时间 2021-03-21 22:44
- 提问者网友:久伴不朽
- 2021-03-21 17:55
用VB布尔表达式表示密码 “happy”或输入次数大于等于三次,其中密码用变量password表示输入次数用变量count表示,所表示的布尔表达式怎么写?????求结果和过程
最佳答案
- 二级知识专家网友:迷人小乖乖
- 2021-03-21 18:33
Dim count As Integer
Private Sub Command1_Click()
Dim DF As Boolean, password As String
If count >= 3 Then
End
End If
If Text1.Text = "happy" Then
DF = True
Else
DF = False
End If
'.........................
'其他代码
End Sub
Private Sub Command1_Click()
Dim DF As Boolean, password As String
If count >= 3 Then
End
End If
If Text1.Text = "happy" Then
DF = True
Else
DF = False
End If
'.........................
'其他代码
End Sub
全部回答
- 1楼网友:一只傻青衣
- 2021-03-21 20:04
password = "happy" Or count >= 3
- 2楼网友:余生继续浪
- 2021-03-21 19:55
password=happy and count>=3
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯