using System;
public class Program
{
public static void Main()
string a;
Console.WriteLine("Enter the correct password");
a = Console.ReadLine();
while ( true )
if ( a == "root" )
Console.WriteLine("Thanks");
break;
}
else Console.WriteLine("You entered the wrong password, enter the correct password!!");