1
0
mirror of https://github.com/renbaoshuo/202401-programming-assignments.git synced 2024-12-16 15:44:39 +00:00
202401-programming-assignments/【实践课外】13.指针1/6-3 求两数平方根之和.c

7 lines
126 B
C
Raw Normal View History

2024-11-29 08:43:30 +00:00
double fun(double *a, double *b) {
double sqrt_a = sqrt(*a),
sqrt_b = sqrt(*b);
return sqrt_a + sqrt_b;
}