Commit 427c6e7b authored by Artak Yenokyan's avatar Artak Yenokyan

Merge branch 'branch6.11' into 'master'

michael.davityan:exercise_06_11

See merge request bpcarm/trainings2017!808
parents da163c70 ddae9ca3
Pipeline #14840190 failed with stage
in 1 minute and 38 seconds
Question: Show the value of x after each of the following statem ents is perform ed:
a. x = fabs ( 7.5 )
b. x = floor ( 7.5 )
c. x = fabs ( 0.0 )
d. x = ceil ( 0.0 )
e. x = fabs ( -6.4 )
f. x = ceil ( -6.4 )
g. x = ceil ( -fabs ( -8 + floor( -5.5 ) ) )
Answer:
a. 7.5
b. 7
c. 0
d. 0
e. 6.4
f.-6
g.-14
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment