13 lines
200 B
C
13 lines
200 B
C
|
#include <stdio.h>
|
||
|
|
||
|
int main(void) {
|
||
|
// initialization
|
||
|
double a, b, c, d;
|
||
|
scanf("%lf %lf %lf %lf", &a, &b, &c, &d);
|
||
|
|
||
|
// print answer
|
||
|
printf("%lf", (a + b) * (a - b) + c / d);
|
||
|
|
||
|
return 0;
|
||
|
}
|