Libraries Problems

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

Calculating Factorial

Build a program from the blocks in the tray that uses the math library, declares a math object, and calls the factorial action. Edit the actions so it finds the factorial of 4 and outputs the following message.

The factorial of 4 is 24.0

Coding:

Blocks

PreviousNext