Advertisement
Advertisement
Advertisement
Answer in Brief
Complete following program to display multiplication of 6.40 and 300.
‹!DOCTYPE html›
‹html›
‹head›
‹title› Series ‹/title›
‹/head›
‹body›
__________________________________
var x = ______;
var y = ______;
document.write(x ______ y);
__________________________________
‹/body›
‹/html›
Advertisement
Solution
‹!DOCTYPE html›
‹html›
‹head›
‹title› Series ‹/title›
‹/head›
‹body›
‹script type="text/javascript"›
var x = 6.4;
var y = 300;
document.write(x * y);
</script>
‹/body›
‹/html›
Concept: JavaScript Arithmetic Operators
Is there an error in this question or solution?