Saint Louis University |
Computer Science 1300
|
Dept. of Math & Computer Science |
Topic: While Loops, Functions
Related Reading: Chapter 5.1-5.3
Due:
11:00am, Friday, 24 February 2017
Please make sure you adhere to the policies on academic integrity.
Exercise 5.9 on page 196 of the book.
Write a function acronym(phrase) that accepts a string as a parameter, and returns a new string that includes the first letter of every word in the original phrase, all in uppercase. For example, a call to acronym('Laughing out loud') should return the string 'LOL'.
Exercise 5.23 on page 199 of the book.
Exercise 5.25 on page 199 of the book.