•
Contents
•
Up
•
Test
•
Show how to shorten the definition of isVowel by using occurs. Write the shorter definition of isVowel. (A character is a vowel if it occurs in string "aeiouy".)
Answer
Store
Compute
[
Language:
Cinnameg
Kind:
function definition*]
(*You can define more than one function if you put a semicolon between definitions (but not between cases of one definition). Be sure to define a function before you use it.)