JavaScript

May 16, 2023

Multiplication Operator JavaScript

Program to use Multiplication Operator JavaScript Language


let a = 5;
let b = 3;
let c;
c = a * b;
console.log("c = ", c);

Output


c = 15

Steps Description

  1. Declare three variables a, b and c
  2. Initialize both variables with value of 5 and 3 respectively a=5, b=3
  3. Assign c variable with Assignment Operators (=) with the multiplie/गुड़ा value of variables a and b
  4. a, b variables की value को (*) Multiplication Operators ki सहयता से a*b numbers को multiplie/गुड़ा किया गया हैं
  5. console.log inbuilt function की मदद्द से c variable की value को display किया गया हैं

by : Suhel Akhtar

Quick Summary:

Multiplication Operator JavaScript Language