Computer Science, asked by shiwangi28, 1 year ago

what will be the output of the following? float x=7.87? System.out.println( math.ceil(x); ​

Answers

Answered by FelixDan
11

the output will be 7.0,hope it helps you

please mark it brainliest


FelixDan: please mark it brainliest
Akkirajput4577: Hi
Akkirajput4577: Woooooooo
Answered by Asna123
24

Output:8.0

Because ceil will count up the argument value....

Hope it was helpful


Asna123: Amazing...was such an easy paper
FelixDan: So easy paper... just a wow!!
Asna123: Q.2 1st ans it was in my tb so I wrote as it is
Asna123: Text book
Similar questions