Complete following program to display multiplication of 6.40 and 300. - Information Technology

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?
Chapter 3: Impressive Web Designing - Exercise [Page 57]

APPEARS IN

Balbharati Information Technology (IT) 11th Standard HSC Maharashtra State Board
Chapter 3 Impressive Web Designing
Exercise | Q 2.5 | Page 57
Share
Notifications



      Forgot password?
Use app×