ErolKZ

Untitled

Oct 24th, 2021
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. function solve (n1, n2, n3) {
  2.  
  3.  
  4.  
  5. let sum = function (num1, num2) {
  6.  
  7. return num1 + num2;
  8.  
  9. }
  10.  
  11. let substract = function (num3) {
  12.  
  13. return num3;
  14.  
  15. }
  16.  
  17.  
  18.  
  19. return sum(n1, n2) - substract(n3);
  20.  
  21.  
  22. }
  23.  
Advertisement
Add Comment
Please, Sign In to add comment