Last active
August 29, 2015 14:14
-
-
Save Kanol/dbd2885aa16635053cf7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Please write your Login and Password"); | |
Console.Write("Login: "); | |
String s = Console.ReadLine(); | |
Console.Write("Password: "); | |
String e = Console.ReadLine(); | |
if (s == "Admin" && e == "123") | |
{ | |
Console.WriteLine("Login and Password are correct!"); | |
} | |
else | |
{ | |
Console.WriteLine("Login or Password is incorrect!"); | |
} | |
Console.Read(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment