Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 370 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 370 Bytes

math combo

Build a function, cocococombomath, that takes 5 numbers as parameters.
It: - multiplies the 1st number x the 2nd number - the result of that, it adds the 3rd number - the result of that, it divides by the 4th number - the result of that, it subtracts the 5th number - it returns that result

  • example:
    • cocococombomath(3,2,6,3,5)
      • Returns -1