using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Logical_operators
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("\n====================\n");
string UserName, Password;
UserName = "anwar";
Password = "Abcd123@anwar";
if (UserName == "anwar" && Password == "Abcd123@anwar")
{
Console.WriteLine("Welcom to your Controlpanel");
}
else
{
Console.WriteLine("Wrong user Name Password");
}
Console.WriteLine("\n====================\n");
Console.WriteLine("\n==if wrong UserName or password are given ==\n");
Console.WriteLine("\n====================\n");
if (UserName == "anwar" && Password == "Abcd123@")
{
Console.WriteLine("Welcom to your Controlpanel");
}
else
{
Console.WriteLine("Wrong user Name Password");
}
Console.WriteLine("\n====================\n");
Console.ReadLine();
}
}
}