Exercise 1

1 Functions

Write a function faculty, such that faculty(n) = 1*2*3*4*....*n.




Call
faculty directly.




Write a class that contains a function call to
faculty.



1.1

1.1.1 NFaculty



1.1.2 NFacultyCall


1.1.3 Simulation of NFacultyCall