Computer Science, asked by parthaksharma12333, 5 months ago

Q20: What will be the output of the following:
x = Math.ceil(Math.pow(2.0,-3.0)).​

Answers

Answered by BrainlyProgrammer
2

Answer:

Question: output of Math.ceil(Math.pow(2.0,-3.0));

Output with step by step solution:

x=Math.ceil(Math.pow(2.0,-3.0));

x=Math.ceil(0.125);

x=1; ->Output

Answered by anindyaadhikari13
1

Answer:-

x=Math.ceil(Math.pow(2.0,-3.0))

>> x=Math.ceil(0.125)

>> x=1.0

Hence, the final value of x is 1.0

Similar questions