(lively music)
- [Instructor] For this challenge,
you will build on the Chapter 5 challenge
and build a template version
of the non-recursive factorial function.
Use your solution from Chapter 5 as a basis
and convert it to use a template.
This was my solution for the Chapter 5 challenge.
You'll make a template function that will work
with any numeric type.
Expect this challenge to take about 10 to 15 minutes,
and feel free to take longer
if you want to experiment and learn.