sir my test case fails,i have used two function for even and odd , but i was unable to return two consecutive pair in the function at a time , so how can i return consecutive pairs after the number that i have input
Challenges pythagoras triplet
@rahulkumarraj220 to return two integers you may use return type as
(pair<int,int> p) and you can access both integers using p.first and p.second