Generation

generate functionSun, 11 Jun 2023

Genera un switch de tipo int, con opciones de 1,2,3 donde 1 retorna Luis, 2 retorna Angel

int switch1 = 3; switch (switch1) { case 1: Console.WriteLine("Luis"); break; case 2: Console.WriteLine("Angel"); break; case default: Console.WriteLine("No es una opcion valida"); break; }

Questions about programming?Chat with your personal AI assistant