Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- class Program
- {
- static void Main()
- {
- string input = Console.ReadLine().ToLower();
- if (input == "a" || input == "e" || input == "i" || input == "o" || input == "u" || input == "y")
- {
- Console.WriteLine("vowel");
- }
- else if (input == "0" || input == "1" || input == "2" || input == "3" || input == "4" || input == "5" || input == "6" || input == "7" || input == "8" || input == "9")
- {
- Console.WriteLine("digit");
- }
- else
- {
- Console.WriteLine("other");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement