Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function multiplicationTable() {
- for (let firstNum = 1; firstNum <= 10; firstNum++) {
- for (let secondNum = 1; secondNum <= 10; secondNum++) {
- let result = firstNum * secondNum;
- console.log(`${firstNum} * ${secondNum} = ${result}`);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment