n

Linear

Quad

Cubic

Sort

Exp

1

         

2

         

3

         

 

double TimeIt(int n, void (*f)(int))

{

//the five lines of code that was repeated 4 times in the lab

}