about | help | code help+videos | done | prefs |
Write a method that returns the sum of some integer parameters. Always include num1 and num2 in the sum. Only include num3 in the sum if 'includeLast' is true. Look at the test data for examples. test2021_09_02_APSLHL_addThem(128, 256, 512, true) → 896 test2021_09_02_APSLHL_addThem(-124, -235, -215, false) → -359 test2021_09_02_APSLHL_addThem(1, 2, 4, true) → 7 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 230
Copyright Nick Parlante 2017 - privacy