Javascript - Write program to Display the product of 10 * 5, using two variables x and y.

Requirements

Write program to Display the product of 10 * 5, using two variables x and y.

Hint

You can define the two variables as

var x;
var y;

Use the multiplication operator (*).

Demo

var x = 10;
var y = 5;
console.log( x * y );

Result

Related Exercise