...

/

Exercise 2: Purchase Items

Exercise 2: Purchase Items

Test your knowledge of passing multiple arguments to the function.

We'll cover the following...

Problem statement

The purchaseItems() function merely prints the parameters it receives, after a little formatting.

Task 1

Two calls to the function are shown in the code widget’s exercise tab; this ...