Pragma: UseUtils

BeginProgram: Selection5

BeginMain:
	ScalarDecl: <char> x = char_at(program_arg(1), 0)
	Assign: x = tolower(x)
	BeginSwitch: x
		Case: 'a', 'e', 'i', 'o', 'u'
			PrintLine: format("{0:c} is a vowel", ord(x))
		Case: 'y'
			PrintLine: "y is sometimes a vowel"
		Default
			PrintLine: format("{0:c} is a consonant", ord(x))
	EndSwitch
EndMain
EndProgram
