.NET自由天空
Would you like to react to this message? Create an account in a few clicks or log in to continue.

猜猜猜数字拉

向下

猜猜猜数字拉 Empty 猜猜猜数字拉

帖子  王艳明-07网4 周二 三月 18, 2008 8:28 pm

Module Module1

Sub Main()
Const a As Integer = 123
Const b As Integer = 456
Const c As Integer = 789
Dim d As Integer
d = Console.ReadLine()
If d = a Then
Console.WriteLine("正确")
d = Console.ReadLine()
If d = b Then
Console.WriteLine(" 正确")
d = Console.ReadLine()
If d = c Then
Console.WriteLine("正确")
Else
Console.WriteLine("错误")
End If
Else
Console.WriteLine("错误")
End If
Else
Console.WriteLine("错误")

End If




End Sub

End Module

王艳明-07网4

帖子数 : 3
注册日期 : 08-03-18

返回页首 向下

返回页首


 
您在这个论坛的权限:
不能在这个论坛回复主题