Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Module Module1
- Sub Main()
- Console.WriteLine("name: ")
- Dim username As String = Console.ReadLine()
- Console.WriteLine("password: ")
- Dim password As String = Console.ReadLine()
- If username = "alfred" And password = "cancio" Then
- Console.WriteLine("================================Welcome================================" & username)
- Else
- Console.WriteLine("Invalid username or password. please try again!")
- End If
- Console.ReadLine()
- End Sub
- End Module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement