Repeat the algorithm

Report a typo

A programmer wrote a function that takes three numbers a, b and c as input and performs the following algorithm of actions:

  1. subtract number c from a

  2. multiply the result by the number b

  3. add 10 to the resulting number

  4. return the final result

Write what answer the function will return for input numbers a = 5, b = 4, c = 3.

Enter a number
___

Create a free account to access the full topic