0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Use Multiple Parameters

A function can receive several inputs. Separate parameters and their matching arguments with commas.

Example

function area(width, height) { return width * height; }

Your task

Complete addScores so addScores(8, 6) returns 14 and the console displays Combined score: 14.