// // PI.c is a program taking in an integer n and then n floats from // the standard in, and returns a table with values of cosine computed for x // values entered in. The values are computed using the cosine function in // the math.h library. // #include #include int main(void) { float x[100]; int i,n; scanf("%i",&n); // Checks to be sure n is less than 100. if(n>100||n<0) return 1; for(i=0;i