The TransCompilator

Solved LeetCode program · 163 of 1,000

#0172 · Factorial Trailing Zeroes

Medium Math chunk-04.md

Original English source

The number is 25. The value is number. The count is 0.
Repeat while value is more than 0.
Set value to value divided by 5. Add value to count.

Show count.

Open in Playground Browse all 1,000 problems

Expected stdout

6