Home Segments Index Top Previous Next

335: Practice

Convert the method that you wrote in Segment 334 into a program consisting of two cooperating methods, factorial and recurse. The recurse method is to call the factorial method.