Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. double A,B,C,ras1,ras2;
  8. cin>>A>>B>>C;
  9. ras1=fabs(A-C);
  10. ras2=fabs(B-C);
  11. cout<<ras1*ras2<<endl;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement