public static void Main()
string nome, dataN, numS, aux;
int i, y, Numero = 0, resposta1 = 0, resposta2 = 0, resposta3 = 0, resposta4 = 0, soma2 = 0, somatotal = 0, somaNascimento = 0, somanascimento2 = 0;
Int32[] num = new Int32[] {0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27};
String[] alf = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "x", "w", "y", "z"};
String[] alfnum = {"0","1","2","3","4","5","6","7","8","9"};
Console.WriteLine("Digite seu nome: ");
nome = (Console.ReadLine());
Console.WriteLine("Digite sua data de nascimento, apenas numeros: ");
dataN = Convert.ToString(Console.ReadLine());
Console.WriteLine("Digite seu numero da sorte: ");
numS = Convert.ToString(Console.ReadLine());
for (i = 0; i < nome.Length; i++)
for (y = 0; y < alf.Length; y++)
if(Convert.ToChar(nome[i]) == Convert.ToChar(alf[y]))
soma2 = soma2 + (num[y]);
somatotal = somatotal + (num[y]);
Console.WriteLine("A soma dos dois primeiros valores: " + soma2);
Console.WriteLine("A soma dos valores totais: " + somatotal);
for (i = 0; i < dataN.Length; i++)
for (y = 0; y < alfnum.Length; y++)
if(Convert.ToChar(dataN[i]) == Convert.ToChar(alfnum[y]))
somanascimento2 = somanascimento2 + (num[y]);
somaNascimento = somaNascimento + (num[y]);
Console.WriteLine("A soma dos dois primeiros valores do nascimento: " + somanascimento2);
resposta3 = somanascimento2;
Console.WriteLine("A soma dos valores totais do nascimento: " + somaNascimento);
resposta3 = somaNascimento;
resposta2 = 60 - Convert.ToInt32(numS);
if(Convert.ToInt32(numS) >= 0 && Convert.ToInt32(numS) <=60)
if(resposta1 != Convert.ToInt32(numS) && resposta2 != Convert.ToInt32(numS) && resposta3 != Convert.ToInt32(numS))
Console.WriteLine("Numero Digitado Sorte: " + resposta2);
Random rdm = new Random();
Console.WriteLine("Numero aleatotio Sorte: " + Numero);
Console.WriteLine("_______________________________________________ \n");
Console.WriteLine("SORTEADOS: " + resposta1 + " - " + resposta3 + " - " + resposta4 + " - " + "36 - 48 - 52" );
Console.WriteLine("_______________________________________________ \n");
Console.WriteLine("Continua? [|| - P/ Sair]");
aux = Convert.ToString(Console.ReadLine());