Use an OMP parallel for directive to solve problem 10 in C.