Computer Science, asked by dushyant6856, 3 months ago

If p=5,q=5 then calculate:

(i) Math.pow(++p,3);

(ii)Math.ceil(3.4)+Math.floor(-4.7);​

Answers

Answered by kabaddi836
1

Answer:

console.log(Math.floor(5.95));

// expected output: 5

console.log(Math.floor(5.05));

// expected output: 5

console.log(Math.floor(5));

// expected output: 5

console.log(Math.floor(-5.05));

// expected output: -6

Explanation:

MAKE ME BRAINLIEST ❤️❤️ FOLLOW ME ❤️❤️

Answered by anindyaadhikari13
1

Answer:-

Given,

p=5, q=5

Math.pow(++p, 3)

=6³

=216

Math.ceil(3.4)+Math.floor(-4.7);

=4.0+(-5.0)

= -1.0

Similar questions