Libraries Problems

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9

Calculating Floor and Ceiling

Build a program from the blocks in the tray that uses the math library, declares a math object, and calls the floor action and the ceiling action. Edit the floor and ceiling actions so they find the floor and ceiling of 41.4 and output the following messages.

The floor of 41.4 is 41.0
The ceiling of 41.4 is 42.0

Coding:

Blocks

PreviousNext