习题5-7 使用函数求余弦函数的近似值 题目内容使用函数编写一个求余弦值的函数给定两个输入,误差和要求的余弦函数值使用程序要求的公式求余弦值最后一项的绝对值小于误差测试程序样例#include <stdio.h>#include <math.h>double funcos( double e, double x );int main(){ double e, x; scanf("%lf %lf", &e, &x); printf("cos(%.2
[Function Question 8] PTA #C A possible way to count a number in a string of numbers. And a small problem with another method...