Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in 3rd party category for Multiply (Intro) by spalma23
import assert from "assert";
function multTwo(a: number, b: number): number {
// your code here
return a*b;
}
console.log('Example:');
console.log(multTwo(3, 2));
// These "asserts" are used for self-checking
assert.equal(multTwo(3, 2), 6);
assert.equal(multTwo(0, 1), 0);
console.log("Coding complete? Click 'Check' to earn cool rewards!");
April 23, 2020
Comments: