-
Completed at: 2023-07-10T18:59:58.253Z
-
Completed languages: javascript
-
Tags: Fundamentals
-
Rank: 8 kyu
Messi is a soccer player with goals in three leagues:
- LaLiga
- Copa del Rey
- Champions
Complete the function to return his total number of goals in all three leagues.
Note: the input will always be valid.
For example:
5, 10, 2 --> 17