in this code i have given the same inputs as given in question and obtaining the answer but it is not the same output in the problem
but condition contains a=b=c
these three values can be equal
but output is containing only different values why so?
Print triplets OF ARRAY
Have updated your code here
Now it’s giving desired output.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.