求的历史课件如题

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/13 04:23:00

求的历史课件如题
求的历史课件
如题

求的历史课件如题
我找到两个:

你好,If Combo1.Text = "求Sin" And Combo2.Text = "弧度" Then
Label1.Caption = Sin(a1 * 3.14 / 180)
If Combo1.Text = "求Cos" And Combo2.Text = "弧度" Then
Label1.Caption = Cos(a1 * 3.14 / 180)

全部展开

你好,If Combo1.Text = "求Sin" And Combo2.Text = "弧度" Then
Label1.Caption = Sin(a1 * 3.14 / 180)
If Combo1.Text = "求Cos" And Combo2.Text = "弧度" Then
Label1.Caption = Cos(a1 * 3.14 / 180)
If Combo1.Text = "求Tan" And Combo2.Text = "弧度" Then
Label1.Caption = Tan(a1 * 3.14 / 180)
If Combo1.Text = "求Sin" And Combo2.Text = "角度" Then
Label1.Caption = Sin(a1)
If Combo1.Text = "求Cos" And Combo2.Text = "角度" Then
Label1.Caption = Cos(a1)
If Combo1.Text = "求Tan" And Combo2.Text = "角度" Then
Label1.Caption = Tan(a1)
End If
End If
End If
End If
End If
End If
逻辑不对,改成下面这样
If Combo1.Text = "求Sin" And Combo2.Text = "弧度" Then
Label1.Caption = Sin(a1 * 3.14 / 180)
End If
If Combo1.Text = "求Cos" And Combo2.Text = "弧度" Then
Label1.Caption = Cos(a1 * 3.14 / 180)
End If
If Combo1.Text = "求Tan" And Combo2.Text = "弧度" Then
Label1.Caption = Tan(a1 * 3.14 / 180)
End If
If Combo1.Text = "求Sin" And Combo2.Text = "角度" Then
Label1.Caption = Sin(a1)
End If
If Combo1.Text = "求Cos" And Combo2.Text = "角度" Then
Label1.Caption = Cos(a1)
End If
If Combo1.Text = "求Tan" And Combo2.Text = "角度" Then
Label1.Caption = Tan(a1)
End If 27212希望对你有帮助!

收起