A difference

Report a typo

Change the function so that it returns the difference between the number a and the sum of b and c.

Use the return operator; do not output the values to the console.

Sample Input 1:

33 2 1

Sample Output 1:

30

Sample Input 2:

30 20 10

Sample Output 2:

0
Write a program in JavaScript
function difference(a, b, c) {
// change it
}
___

Create a free account to access the full topic