#include <stdio.h>#include <math.h>int main(){ double a = sin(1/2); double b = sin(1/3); double c = sin(1/4); double sum = a+b+c; printf("sum = %lf\n",sum); return 0;}为什么sum输出的值为0呢?
- 2 回答
- 0 关注
- 1310 浏览
添加回答
举报
0/150
提交
取消