Bifalgorithm post · Brisk · Chapter 1
What happens after dividing 3 by 2 and taking the floor?
What happens after dividing 3 by 2 and taking the floor? (Brisk · Chapter 1) — "b 3 ÷ 2 c = 1 . This still isn’t zero, so make 1 our new value, move our pencil…
Ideas in this flowchart
- Iterative procedure after obtaining a nonzero result
- Calculate b 3 ÷ 2 c = 1.
- The result is still not zero.
- Make 1 the new value.
- Move the pencil to the left of the 0.
- Go back to step 1.
