Thu Apr 08 2021 14:28:54 GMT+0000 (Coordinated Universal Time)
Saved by @latifa_amaireh
function sumAndMultiply(a, b, c) { let add = sum(a,b)[0] + c; let product = multiply(a,b)[0] * c; return [add,product,`${a} and ${b} and ${c} sum to ${add}.`,`The product of ${a} and ${b} and ${c} is ${product}.`] } testSumAndMultiply(4,7,5);
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments