Multiplication Operator JavaScript
Multiplication Operator
On this page
Multiplication Operator
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
- Declare three variables a, b and c
- Initialize both variables with value of 5 and 3 respectively a=5, b=3
- Assign c variable with Assignment Operators (=) with the multiplie/गुड़ा value of variables a and b
- a, b variables की value को (*) Multiplication Operators ki सहयता से a*b numbers को multiplie/गुड़ा किया गया हैं
- console.log inbuilt function की मदद्द से c variable की value को display किया गया हैं