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

刘中来-密码确认

向下

刘中来-密码确认 Empty 刘中来-密码确认

帖子  刘中来-网络4 周二 三月 18, 2008 8:30 pm

Dim d As String = Console.ReadLine
Dim b, c As String
If d <> 2 Then
Console.WriteLine("猜错了!!")
Else
Console.WriteLine("猜对第一位")
b = Console.ReadLine
If d <> 2 And b <> 3 Then
Console.WriteLine("猜错了!!")
Else
Console.WriteLine("猜对第二位")
c = Console.ReadLine
If d <> 2 And b <> 3 And c <> 4 Then
Console.WriteLine("猜对第三位")
Else
Console.WriteLine("猜错了!!")
End If
End If
End If

刘中来-网络4

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

返回页首 向下

返回页首


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