Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <math.h>
- using namespace std;
- int main()
- {
- double A,B,C,ras1,ras2;
- cin>>A>>B>>C;
- ras1=fabs(A-C);
- ras2=fabs(B-C);
- cout<<ras1*ras2<<endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement