mirror of
https://github.com/renbaoshuo/202401-programming-assignments.git
synced 2024-12-16 15:44:39 +00:00
7 lines
126 B
C
7 lines
126 B
C
|
double fun(double *a, double *b) {
|
||
|
double sqrt_a = sqrt(*a),
|
||
|
sqrt_b = sqrt(*b);
|
||
|
|
||
|
return sqrt_a + sqrt_b;
|
||
|
}
|