What is the value of x after each of the following statements is performed?
a) x = Math.Abs( 7.5 );
b) x = Math.Floor( 7.5 );
c) x = Math.Abs( 0.0 );
d) x = Math.Ceiling( 0.0 );
e) x = Math.Abs( -6.4 );
f) x = Math.Ceiling( -6.4 );
g) x = Math.Ceiling( -Math.Abs( -8 + Math.Floor( -5.5 ) ) );
What is the value of x
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


VulpesRank #55 · 29.2K reputationPosted Dec 10, 2012, 1:13 PM EST
b) 7
c) 0
d) 0
e) 6.4
f) -6
g) -14