Write a program that approximates pi using the above series. Allow the user to specify the number, n, of terms to be used. "Your problem for this lab is to write a program that approximates pi using the above series. Allow the user to specify the number, n, of terms to be used."