include stdio include stdlib include math int main void double printf

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main(void)
{
double f,x,y;
printf("Vvedite x\n");
scanf("%lf", &x);
printf("Vvedite y\n");
scanf("%lf", &x);
if ((x-y)!=0)
{
f= sqrt(x*y)+1/(x-y);
printf("f=%f\n",f);
}
else
printf("HE PEIIIUTb");
system("pause");
return 0;
}