| chapter | 20 |
|---|---|
| pageNumber | 148 |
In JavaScript, we can perform the multiplication of two numbers by using the asterisk (*) arithmetic operators.
let resultingValue = 3 * 2;Here, we stored the product of 3 * 2 into a resultingValue variable.
-
Write a program to store the product of
23times41and print its value. -
Write a program that generates a multiplication table for a specific number. The program should take a number as input and then display the multiplication table for that number, from 1 to 10.
- Visit the Basic Operators chapter to understand the mathematical operations.
{% if output.name == "website" %} {% aceeditor compilerTitle="Try it!" %} {% endaceeditor %} {% endif %}