Find the Point | hackerrank Solution in C++
Find the Point | Hackerrank Solution
It is an hackerrank problem you can find it by clicking here.
Below given solution is prepared by one of the coder of our.
Soultion in C++
#include<iostream>
using namespace std;
int main() {
int T;
cin >> T;
for(int t = 0; t < T; t++){
int a,b,c,d;
cin>>a>>b>>c>>d;
cout<<(2*c)-a<<" "<<(2*d)-b<<endl;
}
return 0;
}
Hope your doubt regarding this problem is clear.
This solution is POWERED By : Coding Winds

Comments
Post a Comment