Saint Louis University |
Computer Science 1300
|
Computer Science Department |
Please make sure you adhere to the policies on academic integrity.
Write a program that allows the user to enter words, continuing until the user first enters a duplicate. Your program should work as showin in the following interaction. (The underlined parts are those parts typed by the user.)
Start entering words: kiwi apple banana apple You already entered apple. You listed 3 distinct words.
Write a program that answers the following question. Starting
with the value
Submit both your source code and the answer you computed for the above question.