โ Back to Methods
Question 144
Sum of Three Method
Sum of Three Method
Complete the static method SumThree so it returns the sum of its three parameters. Do NOT write a Main method.
For SumThree(1, 2, 3) the program prints 6.Expected Output:
6
Topics:
Methods
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.