My issue
logic to find no.of hens and ducks?
My code
// Step 1: Read and understand the problem statement and sample test cases
// Click on 'Next' once you are ready to proceed.
int main()
{
int t;
cin>>t;
while(t--)
{
int X,Y,Z;
cin>>X>>Y>>Z;
if()
}
}
Learning course: C++ for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone