why has sir written ans = min(min(op1, op2), op3).
shoudn’t it be min(op1, op2, op3)
why has sir written ans = min(min(op1, op2), op3).
shoudn’t it be min(op1, op2, op3)
Hey @vector.9974 min STL function only takes two element compare them and return a value. So when bhaiya did min(op1,op2). minimum between them occurs, and that minimum value, later on is being compared to op3. So we will get minimum of op1,op2 & op3 by doing min(op1,op2,op3)
If this solves your doubt, please mark it as resolved.
ok thank you sir…
Please mark it as resolved