MCPcopy Create free account
hub / github.com/careercup/ctci / main

Method main

java/Chapter 17/Question17_3/QuestionB.java:26–30  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

24 }
25
26 public static void main(String[] args) {
27 for (int i = 1; i < 12; i++) {
28 System.out.println(i + "! (or " + factorial(i) + ") has " + countFactZeros(i) + " zeros");
29 }
30 }
31}

Callers

nothing calls this directly

Calls 2

factorialMethod · 0.95
countFactZerosMethod · 0.95

Tested by

no test coverage detected