Найти среднее геометрическое двух чисел. На языке С(Си)

Ответы

Ответ дал: Helper211
0

#include <stdio.h>

#include <math.h>

int main()

{

float a, b;

printf("Input 1st number: ");

scanf("%f", &a);

printf("Input 2nd number: ");

scanf("%f", &b);

printf("Result = %f", sqrt(a * b));

return 0;

}

Вас заинтересует