I wrote below code but it gives output repeated. Such as 3,4,5 and 4,5,3 and 5,4,3. It shows the same triplet. How can I prevent this?I wrote below code but it gives output repeated
I wrote below code but it gives output repeated. Such as 3,4,5 and 4,5,3 and 5,4,3. It shows the same triplet. How can I prevent this?I wrote below code but it gives output repeated