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));

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);

Step by Step Solution

3.51 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related JavaScript Questions!