What is the correct syntax for rounding the number 39.75 to the nearest integer? a. new Math

Question:

What is the correct syntax for rounding the number 39.75 to the nearest integer?

a. new Math = round(39.75);

b. var mathCalc = new Math(round(39.75));

c. Math.round(39.75);

d. round(39.75);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

JavaScript

ISBN: 9781305078444

6th Edition

Authors: Sasha Vodnik, Don Gosselin

Question Posted: