The Trio Sum

Easy+15 XP

Mission Briefing

The mystical locking mechanism requires exactly three energy charges to be combined at once. If any parameter is dropped, the lock will stay shut forever.

The Concept: Multi-Parameter Sync

Functions can receive as many parameters as you want. When building pipelines, it is crucial to handle all variables perfectly in sync.

The Objective

Your function receives three numeric parameters: x, y, and z.

  1. Calculate the combined sum of all three parameters.
  2. Return the final numeric total.

Constraints

    FundamentalsFunctions
    JavaScript
    Loading...
    3 Hidden

    Input Arguments

    x1
    y2
    z3

    Expected Output

    6

    Click RUN to test your solution