// See https://aka.ms/new-console-template for more information
using System.Data; using System.Reflection; using System.Security.Cryptography; using System.Xml;
var rdSeed = new Random().Next(0,100);
void Banner() { Console.WriteLine(@"
░█▀▀█ ▒█▀▀▄ ▀█▀ ▒█░░▒█ ▀█▀ ▒█▄░▒█ ▒█░▒█ ▒█▀▀▀ ▒█▀▄▀█ ▒█▀▀▀ ▒█░▒█ ▒█▄░▒█ ▒█░▒█ ▒█▀▄▀█ ▒█▀▀▀ ▒█▀▀█ ▒█▀▀▀█ ▒█▄▄█ ▒█░▒█ ▒█░ ░▒█▒█░ ▒█░ ▒█▒█▒█ ▒█▀▀█ ▒█▀▀▀ ▒█▒█▒█ ▒█▀▀▀ ▒█░▒█ ▒█▒█▒█ ▒█░▒█ ▒█▒█▒█ ▒█▀▀▀ ▒█▄▄▀ ▒█░░▒█ ▒█░▒█ ▒█▄▄▀ ▄█▄ ░░▀▄▀░ ▄█▄ ▒█░░▀█ ▒█░▒█ ▒█▄▄▄ ▒█░░▒█ ▒█▄▄▄ ░▀▄▄▀ ▒█░░▀█ ░▀▄▄▀ ▒█░░▒█ ▒█▄▄▄ ▒█░▒█ ▒█▄▄▄█ "); }
void ExibirMenu() { int intNumeroDigitado; do { //Console.Clear(); Console.WriteLine("Digite um número entre 1 e 100: "); string strNumeroDigitado = Console.ReadLine()!; intNumeroDigitado = int.Parse(strNumeroDigitado);
    if (intNumeroDigitado < rdSeed)
    {
        Console.WriteLine(intNumeroDigitado + " é MENOR que meu número");
    }else if (intNumeroDigitado > rdSeed)
    {
        Console.WriteLine(intNumeroDigitado + " é MAIOR que meu número");
    }
    else if (intNumeroDigitado == rdSeed)
    {
        Console.WriteLine(@"
            
            ▒█▀▀█ ░█▀▀█ ▒█▀▀█ ░█▀▀█ ▒█▀▀█ ▒█▀▀▀ ▒█▄░▒█ ▒█▀▀▀█ 
            ▒█▄▄█ ▒█▄▄█ ▒█▄▄▀ ▒█▄▄█ ▒█▀▀▄ ▒█▀▀▀ ▒█▒█▒█ ░▀▀▀▄▄ 
            ▒█░░░ ▒█░▒█ ▒█░▒█ ▒█░▒█ ▒█▄▄█ ▒█▄▄▄ ▒█░░▀█ ▒█▄▄▄█
    ");
        Console.WriteLine("\n\n"+intNumeroDigitado + " é MEU número");
    }
} while(intNumeroDigitado != rdSeed);
}
Banner(); ExibirMenu();