Work in groups of 2-3: === Task: Read in words, then for each unique word seen print it out alongside the #times it occurred. === Example: == input: dog cat meow cat == output dog 1 cat 2 meow 1 === I/O Spec: - Each word on its own line - max of 1000 words - each word has at most 37 chars (allow "antidisestablishmentarianism", and more!) === Game Plan: 1a. What type, to represent one word? (Note that it has at most 37 chars, but String(1..37) has *exactly* 37, so we need to track how many of the 37 are 'real' characters) 1b. Now write code that just reads in the words, then prints them right back out. 2a. What type, to represent a word+count? 2b. Okay, Implement the occurrence-counting! 3. Profit === Helpful functions: == reading up-to-37-chars: we've seen `get_line(s)`, where `s` is an out param and you had better give it a big-enough string else you'll get a runtime error! It has an optional 2nd out-param: `get_line(s,len)` which returns how many chars were read. == printing up-to-37-chars: array slices can be used: `put(s(1..4))` prints 4 chars (Goal: 30min should finish 1a, 1b ?) See: wordCount_v1.adb