Advertisement
NadyaMisheva

zadacha 2

Nov 2nd, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.33 KB | None | 0 0
  1. using System;
  2.                    
  3. public class Program
  4. {
  5.     public static void Main()
  6.     {
  7.         string username = Console.ReadLine();
  8.         string password = Console.ReadLine();
  9.         if(username=="kleopatra" && password == "1234")
  10.         {
  11.             Console.WriteLine("LOGED IN");
  12.         }
  13.         else
  14.         {
  15.             Console.WriteLine("Incorrect username or password!");
  16.         }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement