English

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

Advertisements
Advertisements

Question

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›
Answer in Brief

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›
shaalaa.com
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) [English] 11 Standard Maharashtra State Board
Chapter 3 Impressive Web Designing
Exercise | Q 2.5 | Page 57
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×