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

数字!!!闹死人!!!

向下

数字!!!闹死人!!! Empty 数字!!!闹死人!!!

帖子  秦会盼-网四 周二 三月 18, 2008 8:26 pm

Module Module1

Sub Main()


Const x = 5, y = 2, z = 1
Dim a, b, c As String
Console.WriteLine("猜首位")
a = Console.ReadLine()
If a = x Then
Console.WriteLine("猜第二位")
b = Console.ReadLine()
End If

If b = y Then
Console.WriteLine("猜第三位")
c = Console.ReadLine
End If

If c = z Then
Console.WriteLine("恭喜!顺利闯关")
End If
Console.WriteLine("再接再厉")

End Sub

End Module

秦会盼-网四

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

返回页首 向下

返回页首


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