Question 4-3

Describe what shows function does - that is, what parameters does the function take, and what does it return?

Solution

The shows function takes two parameters - an item data to convert into a string, and a string suffix - and it returns a string containing a character representation of data followed by the characters of suffix.

Back to Review for Quiz 4