Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ForLesson15
- {
- class Program
- {
- static void Main ( )
- {
- Console . WriteLine ( Glas ("a") );
- }
- static bool Glas ( string c )
- {
- string engGlas = "aeiouy";
- bool isGlas = false;
- if ( engGlas .Contains(c) )
- {
- return isGlas = true;
- }
- return isGlas;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment