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

Method main

java/Chapter 17/Question17_3/QuestionA.java:31–35  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

29 }
30
31 public static void main(String[] args) {
32 for (int i = 1; i < 12; i++) {
33 System.out.println(i + "! (or " + factorial(i) + ") has " + countFactZeros(i) + " zeros");
34 }
35 }
36
37}

Callers

nothing calls this directly

Calls 2

factorialMethod · 0.95
countFactZerosMethod · 0.95

Tested by

no test coverage detected