using System;
namespace MyCompiler {
class Program {
public static void Main(string[] args) {
Console.WriteLine("digite uma palavra: ");
string palavra = Console.ReadLine();
char meio = Convert.ToChar(palavra.Length / 2);
if(meio == 'a' || 'e' || 'i' || 'o' || 'u'){
Console.WriteLine("a letra do meio eh uma vogal");
}
}
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: