Computer Science, asked by simranrawat3666, 4 months ago

If a=-7.9 calculate the value of b and c:

b= Math. ceil(a);

c=Math.floor(a)​

Answers

Answered by ca3748098
0

Answer:

b= Math. ceil(a);

c=Math.floor

Answered by atrs7391
3

a = -7.9

b = Math.ceil(a)

c = Math.floor(a)

The value of a and b will be -7.0 and -8.0 respectively.

Similar questions